facebook-permissions

Can't request Facebook Login API permission “publish_actions” even for primary administrator

限于喜欢 提交于 2020-01-17 05:12:33
问题 I'm implementing Facebook login with an extended permission publish_actions using PHP SDK. It shows a message in the login dialog even if I signed in with my primary administrator account: Submit for Login Review. Some of the permissions below have not been approved for use by Facebook I have the following code snippet to post to the user timeline. try { $response = (new FacebookRequest( $session, 'POST', '/me/feed', array( 'message' => 'This is test post.' ) ))->execute()->getGraphObject();

What is the replacement for friends_events permission in FB Graph API v2.0?

寵の児 提交于 2019-12-18 09:17:58
问题 I'm not interested in having list of friends, only events friends of my apps user have some connection with (preferably in manner of /user/events) What is the correct replacement of friends_events permission in Graph API v2.0 ? 回答1: There's no replacement for this. All the friends_* permissions have been removed for the privacy reasons. Ref: https://developers.facebook.com/docs/apps/changelog 回答2: There is no replacement - there's no way to access data from friends of your app's users - this

Error validating access token: The user has not authorized application. Facebook SDK 4

痞子三分冷 提交于 2019-12-12 11:42:39
问题 Here is the case : If I previously granted read permissions to my application via LoginManager.getInstance().logInWithReadPermissions(this, Arrays.asList("email")); Then, when I need to share I request publish permissions via : LoginManager.getInstance().logInWithPublishPermissions(getActivity(), Arrays.asList("publish_actions")); Everything works fine until I removed permissions for my application in Web. If Application was killed or stopped and I need to share I will check if I still have

FB is not defined in Facebook Login

£可爱£侵袭症+ 提交于 2019-12-12 10:46:57
问题 I have the following code but the FB.login gives a FB is not defined javascript error. What am I missing? <html> <body> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init ({ appId : 'XXXX', status : true, cookie : true, xfbml : true }); }; (function() { var e = document.createElement('script'); e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; e.async = true; document.getElementById('fb-root').appendChild(e); }()); FB.login(function(response)

Facebook Graph API read_stream permission actually blocked for non-Facebook branded apps?

三世轮回 提交于 2019-12-06 03:04:12
问题 Getting some conflicting information from Facebook currently on whether or not the read_stream permission is actually deprecated for non-Facebook branded apps moving forward. I know recently the change was made to require app-specific access tokens for read-stream permissions. In the Facebook graph explorer it looks as though my existing application which was already granted an app-specific access token for the read_stream persmission is still providing access to the [user-id]/posts endpoint,

Facebook Graph API read_stream permission actually blocked for non-Facebook branded apps?

女生的网名这么多〃 提交于 2019-12-04 08:37:11
Getting some conflicting information from Facebook currently on whether or not the read_stream permission is actually deprecated for non-Facebook branded apps moving forward. I know recently the change was made to require app-specific access tokens for read-stream permissions. In the Facebook graph explorer it looks as though my existing application which was already granted an app-specific access token for the read_stream persmission is still providing access to the [user-id]/posts endpoint, although I also noticed that searching for this endpoint in the reference takes you now to [user-id]

Getting “Error validating access token” from Facebook for some users

自作多情 提交于 2019-12-03 07:08:16
问题 I'm getting the following error from Facebook when trying to post to a users stream. Error validating access token: The session has been invalidated because the user has changed the password or because auth.expireSession was called. The workflow is as follows: Authorize with Facebook requesting scope=offline_access,publish_stream permissions (if the current user has not already authorized) Do some work on the server (takes 5-10 minutes) Attempt to publish to the user's Facebook stream This

Getting “Error validating access token” from Facebook for some users

僤鯓⒐⒋嵵緔 提交于 2019-12-02 19:41:33
I'm getting the following error from Facebook when trying to post to a users stream. Error validating access token: The session has been invalidated because the user has changed the password or because auth.expireSession was called. The workflow is as follows: Authorize with Facebook requesting scope=offline_access,publish_stream permissions (if the current user has not already authorized) Do some work on the server (takes 5-10 minutes) Attempt to publish to the user's Facebook stream This code works for many users, but for some users, I get the Error validating access token error. It started

Facebook app is Public, but gives error “App not setup” when logging in

蹲街弑〆低调 提交于 2019-11-29 03:37:38
I have an Android app using Facebook to login. The app is already public: When trying to login via Facebook, I get this exception: com.facebook.FacebookAuthorizationException: App Not Setup: This app is still in development mode, and you don't have access to it. Switch to a registered test user or ask an app admin for permissions. Since the test users are able to login perfectly fine, I'm assuming that my code if fine. Deepak Gupta STEP 1: In Settings - > Basic -> Contact Email .(Give your/any email) STEP 2: Make sure you have a valid Privacy Policy available. STEP 3: in ' App Review ' Tab :

Facebook app is Public, but gives error “App not setup” when logging in

天大地大妈咪最大 提交于 2019-11-27 17:42:01
问题 I have an Android app using Facebook to login. The app is already public: When trying to login via Facebook, I get this exception: com.facebook.FacebookAuthorizationException: App Not Setup: This app is still in development mode, and you don't have access to it. Switch to a registered test user or ask an app admin for permissions. Since the test users are able to login perfectly fine, I'm assuming that my code if fine. 回答1: STEP 1: In Settings - > Basic -> Contact Email .(Give your/any email)