Abu Ali
Posts: 0
Joined: Mon Apr 07, 2014 8:50 am

facebook extended permissions

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

facebook extended permissions

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...

Abu Ali
Posts: 0
Joined: Mon Apr 07, 2014 8:50 am

facebook extended permissions

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

Abu Ali
Posts: 0
Joined: Mon Apr 07, 2014 8:50 am

facebook extended permissions

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

facebook extended permissions

Hello Abu,

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

Return to “Issues”