You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
why not wrap the FacebookApi class with your own class?
public class FacebookApiWithPermissions extends FacebookApi
{
public String getAuthorizationUrl(OAuthConfig config)
{
return super.getAuthorizationUrl(config) + "&scope=list_of_permissions";
}
}
I'm developing mobile application, and particularly for facebook I need to change default AUTHORIZE_URL to more mobile friendly and with scope to enable "post to wall" feature.
I've not found any other way then hardcoding in FacebookApi string to
private static final String AUTHORIZE_URL = "https://m.facebook.com/dialog/oauth/authorize?display=touch&response_type=token&client_id=%s&redirect_uri=%s&scope=publish_stream";
How do you think, can you and should do such functionality?
The text was updated successfully, but these errors were encountered: