开发者

Facebook Multiple invites using Requests 2.0

开发者 https://www.devze.com 2023-03-09 10:39 出处:网络
Is it possible to send multiple invites using new Requests 2.0? Documentation as of now saing that \'to\' parameter can specify only one user, so it single user or standart request dialog even without

Is it possible to send multiple invites using new Requests 2.0? Documentation as of now saing that 'to' parameter can specify only one user, so it single user or standart request dialog even without possibility to set default filter! It's huge drawback from hidious by nature, but effective in 开发者_StackOverflow社区purpose FBML.


Sure.

Look in the docs for Requests 2.0:

Send to Many

From your application front-end, execute:

FB.ui({method: 'apprequests', message: 'You should learn more about this awesome game.', data: 'tracking data: 'tracking information for the user'});

This will open the facebook Dialog:

Facebook Multiple invites using Requests 2.0

If you meant in your question whether or not you can filter multiple id's - meaning, you choose the list of uid's to send the request to and not the user - then the answer is no, it's not possible currently.


Of course.

        FB.ui({
            method: 'apprequests', 
            message: 'text for the receiving user',
            data: '127', // to know what to do with it.
            title: 'title of window.'

        });  

see this fanpage for an example: http://www.facebook.com/NeonFashion?sk=app_176086155780033

or i missunderstand your questions and you actual looking for something like Facebook requests 2.0 filter


It is (now?) possible to open a request dialog targeting multiple users at once, by passing an array of ids in the "to" field.

See the "sendRequestToManyRecipients" example in https://developers.facebook.com/docs/reference/dialogs/requests/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号