Page 1 of 1

facebook extended permissions

Posted: Tue May 27, 2014 7:44 am
by Abu Ali

hi,
i added a btn "Attend" that should make the user attending an event on facebook
but i am receiving the error response

"message": "(#299) Requires extended permission: rsvp_event",

i added this permission to facebook_helper.js
var url = "https://www.facebook.com/dialog/oauth...=" + Facebook_Settings['client_id'] + "&redirect_uri=" + callbackUrl + "&scope=user_events,publish_actions,user_groups,rsvp_event&response_type=token";

but with no luck , did i miss anything ?

thanks


facebook extended permissions

Posted: Tue May 27, 2014 9:18 am
by Kateryna Grynko

Hi Abu,

Here is a description of all the permissions: https://developers.facebook.com/docs/...
And an example: http://mrcoles.com/blog/how-query-fac...


facebook extended permissions

Posted: Tue May 27, 2014 9:38 am
by Abu Ali

thanks for your reply

as described here

https://developers.facebook.com/docs/...

"the scope parameter is a comma separated list of Permissions to request from the person using your app."

so i modified the scope parameter in your Facebook API Plugin file facebook_helper.js

var url = "https://www.facebook.com/dialog/oauth...=" + Facebook_Settings['client_id'] + "&redirect_uri=" + callbackUrl + "&scope=user_events,publish_actions,user_groups,rsvp_event&response_type=token";

as you describe in your documentation :

http://devcenter.appery.io/tutorials/...

but the problem is the retrieved token scopes are public_profile permission ONLY (tested with FB token debugger ) https://developers.facebook.com/tools...

what cause error on other services

thanks


facebook extended permissions

Posted: Tue May 27, 2014 10:53 am
by Abu Ali

dear facebook apps developer,

Facebook return only the public_profile because i logged to my app with a normal fb account (Not "FB App Tester or Developer"), you can use all permissions you need if your fb account is listed as developer but it will not be availbale for public users before you send a submission in the "facebook app page - Status and Review" about any additional permissions you want to use, be careful some permissions may need up to 14 days to be approved by facebook review team..

@ appery please add this to your documentation
http://devcenter.appery.io/tutorials/...
(publish_actions permission needs that approving)

it cost me couple of hours to discover that :/ while trying to find some bug or misconfiguration in the code


facebook extended permissions

Posted: Wed Jun 04, 2014 8:40 am
by Evgene Karachevtsev

Hello Abu,

Thank you for your feedback, we've made changes in our documentation