facebook-graph-api

Facebook: Refreshing long-lived access token automatically

女生的网名这么多〃 提交于 2020-12-30 06:30:54
问题 I'm storing long-lived access tokens for users of my application that have associated their Facebook accounts to it. Since the demise of the offline_access tokens, these long-lived tokens have an expiry date of "about 60 days." However, they can refresh themselves when the user interacts with Facebook. According to the documentation: These tokens will be refreshed once per day when the person using your app makes a request to Facebook's servers. If no requests are made, the token will expire

Thumnails for images in Instagram Graph API

走远了吗. 提交于 2020-12-30 05:33:51
问题 I'd like to ask if there is any way to get thumbnail image for media returned from Instagram Graph API? I can get an image URL by using following endpoint: /{InstagramUserId}/media?fields=media_url However it only returns one size. Old Instagram API returned various sizes like low_resolution , thumbnail , standard_size . Is it possible to get similar result by using Instagram Grahp API? 回答1: After searching for some time to a solution i finally found one. So, include in the fields query

Thumnails for images in Instagram Graph API

丶灬走出姿态 提交于 2020-12-30 05:32:46
问题 I'd like to ask if there is any way to get thumbnail image for media returned from Instagram Graph API? I can get an image URL by using following endpoint: /{InstagramUserId}/media?fields=media_url However it only returns one size. Old Instagram API returned various sizes like low_resolution , thumbnail , standard_size . Is it possible to get similar result by using Instagram Grahp API? 回答1: After searching for some time to a solution i finally found one. So, include in the fields query

Force FACEBOOK GRAPH API to show profile url image instead download it

坚强是说给别人听的谎言 提交于 2020-12-15 05:01:24
问题 Working with Facebook API Graph 8.0, I get a JSON with https://graph.facebook.com/v8.0/1234567890?fields=picture&redirect=false&access_token=my_secret_token with the following content: { "picture": { "data": { "height": 100, "is_silhouette": false, "url": "https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=1234&height=100&width=100&ext=1234&hash=abc", "width": 100 } }, "id": "1234567890" } but when I tried to do a <img src="https://platform-lookaside.fbsbx.com/platform/profilepic/

I am getting an error when deleting the scheduled Facebook page post: pages_manage_engagement are not available

不问归期 提交于 2020-12-11 00:57:38
问题 In our android app, we have provided the functionality to schedule and publish posts on Facebook pages. and also we have provided functionality to delete the scheduled post. for the above features, we have already taken the required permissions( publish_pages, manage_pages ) through App Review. All the functionality worked perfectly on our Android & iOS platforms. but for the last few weeks, we are getting error in deleting schedule posts on the Android platform. when we have checked what's

I am getting an error when deleting the scheduled Facebook page post: pages_manage_engagement are not available

感情迁移 提交于 2020-12-11 00:48:23
问题 In our android app, we have provided the functionality to schedule and publish posts on Facebook pages. and also we have provided functionality to delete the scheduled post. for the above features, we have already taken the required permissions( publish_pages, manage_pages ) through App Review. All the functionality worked perfectly on our Android & iOS platforms. but for the last few weeks, we are getting error in deleting schedule posts on the Android platform. when we have checked what's

I am getting an error when deleting the scheduled Facebook page post: pages_manage_engagement are not available

浪子不回头ぞ 提交于 2020-12-11 00:47:17
问题 In our android app, we have provided the functionality to schedule and publish posts on Facebook pages. and also we have provided functionality to delete the scheduled post. for the above features, we have already taken the required permissions( publish_pages, manage_pages ) through App Review. All the functionality worked perfectly on our Android & iOS platforms. but for the last few weeks, we are getting error in deleting schedule posts on the Android platform. when we have checked what's

Cordova Facebook Login - Sudden Failure on Oct 1st 2020

夙愿已清 提交于 2020-11-29 19:12:40
问题 We are using cordova-plugin-facebook4 to manage Facebook login within our Cordova apps. Facebook login suddenly started failing today (Oct 1st 2020). When calling the facebookConnectPlugin.login, it keeps returning this error: "Facebook error: Caught exception: (#200) Missing Permissions" It has been working fine all the while, and our app is authorized for those permissions. This is the code used: facebookConnectPlugin.login(["email","public_profile","user_birthday","user_location"],