facebook

Facebook: Refreshing long-lived access token automatically

筅森魡賤 提交于 2020-12-30 06:32:51
问题 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

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

Database to track user notifications or activity (Facebook like)

*爱你&永不变心* 提交于 2020-12-29 06:27:58
问题 I've just read the following posts on the same topic: Facebook like notifications tracking (DB Design) and Database design to store notifications to users Some solutions were offered but not exactly what I need and how it should be for a Facebook-like notification system. In a notification, we often have some links pointing to the user who took some action, link to a post or video he commented on, link to anything, and ofter we have several links in a single notification. notification -------

Database to track user notifications or activity (Facebook like)

那年仲夏 提交于 2020-12-29 06:27:52
问题 I've just read the following posts on the same topic: Facebook like notifications tracking (DB Design) and Database design to store notifications to users Some solutions were offered but not exactly what I need and how it should be for a Facebook-like notification system. In a notification, we often have some links pointing to the user who took some action, link to a post or video he commented on, link to anything, and ofter we have several links in a single notification. notification -------

How to decode #PWD_BROWSER from facebook password

一个人想着一个人 提交于 2020-12-27 07:11:27
问题 My password: L9RODT8MRn6sBJl2orzmxpE0rjg6ywayOFkddEdwO9rY8l This is example encoded: #PWD_BROWSER:5:1597232954:Ab5QAPPwe5HYw8co2LUVGmjR3OIIPleRDEFrlW+aB4QxUIQW3XAAdimZgReMmTV9FXQH+Nlir7uvj0ayfduu3eVS2Mz3z0DfS0t03QhlzMxIOvVPYEheo/7HLn3M49NSlJ0cQN2qFesaKsnrnbOL5P1SpY/kEtnlJaY31UNUMgC/y5TwyEXm7XT5dbqaSfn2XKk= 回答1: From my personal experience that is how facebook posts data to its server for login verification (you can check it yourself when you login with the developper tools opn on network tab,

Sending a button response to fb messenger via api.ai

别来无恙 提交于 2020-12-16 08:05:20
问题 I have started playing with diaglofFlow a.k.a api.ai with fb messenger integration. I defined an intent which current returns 3 responses. 2 text responses and 1 custom payload. the 2 text responses comes just fine but the custom payload which is suppose to return a button is not. the custom payload looks like { "recipient": { "id": "1234" }, "message": { "attachment": { "type": "template", "payload": { "template_type": "button", "text": "What do you want to do next?", "buttons": [ { "type":

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