facebook-page

Facebook: post image and description to wall and in page album via php

不想你离开。 提交于 2019-11-27 02:28:42
问题 I want users to post an image on a facebook page via a form on a website. When they have logged in via facebook on this website, they can select an image from their computer. Once they have selected the image, I want it to be posted to the users wall, and in an album of the page where I'm one of the administrators. I have created an app for this, but we can't seem to find a way to get the app to post on this facebook-page. Do we need to set any permissions on this page or app? 回答1: To upload

Search for pages via Graph API, response empty

好久不见. 提交于 2019-11-26 22:09:34
问题 When I send the request search?type=page&q=test&access_token=[access_token] to Graph API, the response is empty data. Is there a problem with the access token or is there something missing from the request URI? I also can't seem to find a comprehensive documentation of the search method, only that for places search. This is the response I'm getting: { "data": [ ] } 回答1: Facebook made a lot of changes recently: https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#search-4

Facebook Page Access Tokens - Do these expire?

痞子三分冷 提交于 2019-11-26 19:31:07
I'm building an app that allows users to administrate their Facebook Fan Pages. This requires the following two Access Tokens: A User Access Token A Page Access Token I'm quite familiar with User Access Tokens, but not with Page Access Tokens. Does anybody know how long the Page Access Token remains valid? All I can find on the Facebook website is this succinct paragraph , which doesn't mention anything about it's expiry. Can I assume that if I am requesting the User Access Token with the offline_access permission the Page Access Token will also last indefinitely (unless the user changes their

Adding a Tab to facebook page

喜欢而已 提交于 2019-11-26 18:53:52
问题 I just created a facebook page. I also have a separate facebook APP. How can I add a tab containing my facebook APP to the facebook page? I've set the app to allow install on pages, and added a tab name, tab image, etc, but the app doesn't show as an application to be added on the Facebook page when people access my app 回答1: You can use this link, add your app_id and app_namespace , <a href="http://www.facebook.com/dialog/pagetab?app_id=YOURAPPID&next=URLOWNEDBYOURAPP">Tab Link</a> 回答2: This

Graph API returns 'false' or 'Unsupported get request' accessing public Facebook Page

℡╲_俬逩灬. 提交于 2019-11-26 17:45:12
I've been having some problems with a few Fan Pages and getting their details with the Facebook Graph API. When I try to get the details for the Fan page, Graph API only returned false , but is now returning { "error": { "message": "Unsupported get request.", "type": "GraphMethodException", "code": 100 } } This is not the situation with all Facebook Pages, just for a few. For example, when I try to get the details for this page at https://graph.facebook.com/CaptainMorganMacedonia , it only returns an error. The page is public and has more than 25 fans, but I still have problems fetching the

Seamless way to check if user likes page

こ雲淡風輕ζ 提交于 2019-11-26 16:06:47
So, I am using an iFrame on my tab and I am doing one of those "like roadblocks" where the user needs to like the page in order to view the secret content. Is there a better and more seamless way of doing this then having to ask for permission? I know for tabs built with FBML, they dont ask for permission, but I am guessing that is because it is NOT an iframe. Thanks! Of course you can! As mentioned in the documentation , Facebook will send you some extra details in the signed_request : When a user navigates to the Facebook Page, they will see your Page Tab added in the next available tab

Facebook Page Access Tokens - Do these expire?

人盡茶涼 提交于 2019-11-26 06:59:41
问题 I\'m building an app that allows users to administrate their Facebook Fan Pages. This requires the following two Access Tokens: A User Access Token A Page Access Token I\'m quite familiar with User Access Tokens, but not with Page Access Tokens. Does anybody know how long the Page Access Token remains valid? All I can find on the Facebook website is this succinct paragraph, which doesn\'t mention anything about it\'s expiry. Can I assume that if I am requesting the User Access Token with the

Graph API returns &#39;false&#39; or &#39;Unsupported get request&#39; accessing public Facebook Page

北战南征 提交于 2019-11-26 05:34:20
问题 I\'ve been having some problems with a few Fan Pages and getting their details with the Facebook Graph API. When I try to get the details for the Fan page, Graph API only returned false , but is now returning { \"error\": { \"message\": \"Unsupported get request.\", \"type\": \"GraphMethodException\", \"code\": 100 } } This is not the situation with all Facebook Pages, just for a few. For example, when I try to get the details for this page at https://graph.facebook.com/CaptainMorganMacedonia

Facebook API: Get fans of / people who like a page

孤人 提交于 2019-11-26 02:55:23
I'd like to get a list of users who like a certain page or a fan of it. The FB API documentation states that you can only get the count of the fans of a certain page using the social graph, but not a list of the fans. A discussion here Retrieve Facebook Fan Names suggests that one could use an FQL query like SELECT user_id FROM like WHERE object_id="YOUR PAGE ID" to get the number of people who liked the page, but for the same page, it gives an empty response "{}". So I was wondering if anyone has an idea if this can be done. s3m3n There is a "way" to get some part of fan list with their

Facebook Access Token for Pages

若如初见. 提交于 2019-11-26 02:48:24
I have a Facebook Page that I want to get some things from it. First thing are feeds and from what I read they are public (no need for access_token). But I want to also get the events... and they aren't public and need the access_token. I don't want the user to login in Facebook or anything like that. I just want to push all the data I can from this only page. That's why I already discarded many examples I found here and the one at https://developers.facebook.com/blog/post/500/ , because they want the user to login or require some user action I'm not interessed. What I want is that my Facebook