简体   繁体   中英

“Can only send requests to friends or users of this application”

Using the code

FB.ui({
            method: 'apprequests',
            filters: 'app_non_users',
            message: $filter('i18n')('voices-invite-facebookMessage'),
            to: users // an array of uIDs
        }, function(data){
            console.log(JSON.stringify(data));
        });

I get the following dialog:

只能将请求发送给此应用程序的朋友或用户

From the documentation I fought I was able to invite friends to use my app, did I understand it wrong?

Thanks

I figured out that actually the people I was inviting weren't "my friends". The access token provided to fetch the friends and the one that the SDK logged in, and used to do the FB.ui request weren't the same. Sorry for your time...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM