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...
"Can only send requests to friends or users of this application"
-
01-06-2022 - |
Question
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
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow