facebook-page

Silent failure loading page application in iframe over https

南楼画角 提交于 2019-12-23 21:54:55
问题 Problem I have an application driving a tab on a client's page. The application works correctly if the user has not enabled FB's "secure browsing" feature. If attempting to view over HTTPS, the iframe doesn't even appear (no errors, no mixed-content warnings). When correctly loading over HTTP, the div with the id "pagelet_app_runner" has an iframe inserted into it and the application content is loaded inside there. Over HTTPS, this div remains empty and the iframe is not inserted into the

Permissions on fan page

守給你的承諾、 提交于 2019-12-23 03:53:27
问题 How do I get permission on an application I have on a fan page tab and stay on the current tab? I am collecting permissions on the application fine, but when I put the application onto a tab, it goes haywire seemingly getting caught in a never-ending loop and never going anywhere. 回答1: You could do this with the JavaScript SDK: //Facebook connection with the JavaScript SDK FB.init({ appId: 'YOURAPPID', cookie: true, xfbml: true, status: true }); FB.getLoginStatus(function (response) { //If

Facebook messenger bot error nonexisting field (messages)

女生的网名这么多〃 提交于 2019-12-22 14:40:07
问题 I am a new member. I have an error when send message using HTTP Post to "graph.facebook.com/v2.11/me/messages?access_token=MY_PAGE_TOKEN" This is error return: `{"error":{"message":"(#100) Tried accessing nonexisting field (messages) on node type (Page)","type":"OAuthException","code":100,"fbtrace_id":"EB39Xkxnf6O"}}` Despite error, tester and developer still able to receive message. But the FB viewer might not and they not approve my review submission: "We did not receive an automated

Facebook messenger bot error nonexisting field (messages)

青春壹個敷衍的年華 提交于 2019-12-22 14:38:08
问题 I am a new member. I have an error when send message using HTTP Post to "graph.facebook.com/v2.11/me/messages?access_token=MY_PAGE_TOKEN" This is error return: `{"error":{"message":"(#100) Tried accessing nonexisting field (messages) on node type (Page)","type":"OAuthException","code":100,"fbtrace_id":"EB39Xkxnf6O"}}` Despite error, tester and developer still able to receive message. But the FB viewer might not and they not approve my review submission: "We did not receive an automated

Are Facebook Messenger page-scoped IDs globally unique?

拜拜、爱过 提交于 2019-12-22 08:22:46
问题 I understand that the same user will have different page-scoped IDs (PSIDs) across different pages. But is it guaranteed that no two users will have the same PSID across different pages? For example, is it possible that user A has PSID 1234 while messaging page X, and user B has the same PSID 1234 when messaging page Y? Technically user A and user B would be differentiable even if they have the same PSID because they are messaging different pages. But can I assume that there will be no

How to upload custom app image (tab_image) for Timeline Page tabs via API?

感情迁移 提交于 2019-12-22 08:09:24
问题 Facebook released the new Timeline for Pages today. Apps installed to pages as "tabs" now appear above the timeline with a 111px x 74px size thumbnail "app image". You can customize this on a per-page level (just like the custom tab name) if you navigate the Facebook Page admin interface. You can update the tab's "custom name" via the Open Graph API, but they do not appear to have updated their API docs to show how to upload a custom tab_image (assuming they will). Is it possible now but

Deauthorize page tab notification

谁都会走 提交于 2019-12-22 07:51:43
问题 Does anyone know if the deauthorize callback works for page tab applications? I've set this in the developer settings and it doesn't seem to work. The page in question never even gets touched. I have logging in place to see if the page is hit but nothing shows. Anyone else got this working? Thanks 回答1: Is the page being accessed? Check your log files to see if your callback has been hit. Last time I inspected our process, the signed_request value was not passed, instead the callback was still

Check if page tab app is still installed

[亡魂溺海] 提交于 2019-12-22 04:43:17
问题 What is the best way to check if a tab app is still installed on a specific Fan Page, using the graph api? The only way I can come up with is using, https://graph.facebook.com/page_id/tabs/app_id, and this will return the data for the given tab, if it is installed, but it appears a access_token is required. To use this method, I think, I would need to ask the user for not only the manage_pages permissions but also for the offline_access, then I could store the page_access_token and be able to

Facebook page feed doesn't work with php file_get_contents()

蹲街弑〆低调 提交于 2019-12-21 17:20:07
问题 When I go to this url in by browser, it shows me the json feed i expect: https://www.facebook.com/feeds/page.php?format=json&id=237173582992285 When in PHP I do a <?php print_r(file_get_contents('https://www.facebook.com/feeds/page.php?format=json&id=237173582992285')); ?> I get an html page saying my browser is not supported by facebook and that I should upgrade. How do I make the file_get_contents return the json feed I'm expecting? Additional Notes I also tried from bash wget https://www

Facebook test accounts with pages

二次信任 提交于 2019-12-21 05:07:22
问题 I'm creating a system which involves these steps: 1. Facebook user logs in with Facebook login (manage_pages scope) 2. One of user's Facebook page's access_token is being collected 3. Page's access token is then extended and stored in database for further use The problem is, that I need to test it and when it comes to Facebook's "test-users", they just can't create a page. I created regular account for this purpose and added it as a Tester in Roles. But as I know it violates rules of Facebook