facebook-graph-api

Can't get the Facebook comment moderation to work

不想你离开。 提交于 2020-01-01 06:25:12
问题 I have implemented the Facebook comments plugin to a page on my site. In addition to this I would like to be bale to moderate the comments. I followed the instructions on the Facebook developer section and implemented as described. I wanted to use the inline moderation tool rather than create an app. So I placed the following meta data. <meta property="fb:admins" content="533551342"/> Where the content is set to my Facebook profile ID. I have then placed the script code as per Facebook

Is there an up-to-date Facebook Java SDK? [closed]

帅比萌擦擦* 提交于 2020-01-01 04:50:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I can't seem to find one that's been updated recently. If none, is there a good Java library for doing the necessary signature verification, base64 decoding, etc operations needed to interact with Facebook's API? UPDATE : I'm using Spring Social Facebook to aid in working with Facebook. It doesn't handle

Maximum limit fetching facebook pages with Graph API

此生再无相见时 提交于 2020-01-01 04:31:15
问题 What is the maximum limit for fetching the facebook pages from an account? Let's suppose if a facebook account has more than 200 pages to administer. If I try to retrieve facebook pages of that account using '/me/accounts' edge. Then I get data as well as paging (containing cursors and next , previous page links). What I want to know is If I can set a limit while fetching the facebook pages like '/me/accounts?limit=200' and get all the 200 facebook pages the account has?? I have searched the

Webhooks failing with “Invalid Scopes: pages_messaging_subscriptions” [duplicate]

…衆ロ難τιáo~ 提交于 2020-01-01 03:22:09
问题 This question already has answers here : Facebook Messenger App Invalid Scope - permission: pages_messaging_subscriptions (3 answers) Closed 3 years ago . I had a submitted and approved Facebook messenger bot working. But I just got a developer update just now saying "Your Webhooks subscription for callback URL https://BOTNAME.herokuapp.com/ has not been accepting updates for at least 16 minutes. Please verify that your callback server is functioning." I do see that my callback server and

How can I show the album cover with Facebook Graph API

半腔热情 提交于 2020-01-01 02:10:19
问题 This is the code to display the page-picture: <img src="https://graph.facebook.com/157295940962451/picture"/> How can I show the album cover of a given album in this page 回答1: Not sure if I am doing something wrong, but just wanted to point out that these answers did not work for me until I appended my access_token to the url: https://graph.facebook.com/<?=$album['id']?>/picture?type=album&access_token=<?=$access_token?> 回答2: Try: https://graph.facebook.com/157295940962451/picture?type=normal

How to put multiple Facebook Like buttons with counter on same page

╄→尐↘猪︶ㄣ 提交于 2019-12-31 21:33:49
问题 I have one page with multiple news items. Every item in the list must have own facebook Like button with count. Is it possible to put multiple Like buttons with count for each news on same page? 回答1: Each like button code will have to have it's own unique url. refer to: http://developers.facebook.com/docs/reference/plugins/like/ I use php to achieve this, by pulling all relative urls needed from a database, looping them and writing return to the data-href param in the html5 like button code.

Facebook graph API: ID of user profile picture

百般思念 提交于 2019-12-31 11:09:32
问题 Is there a way to get the ID of the picture that is the current profile picture for a user? Edit: OK, seems there is no trivial way to get the ID! However, it appears from random testing that every user has a single album with attribute type="profile" , and the first image in this album is always the profile picture, so it is possible to get the ID of the profile picture that way. Can some more experienced with Facebook confirm that this is indeed always the case? 回答1: You can get the users

Facebook graph API: ID of user profile picture

跟風遠走 提交于 2019-12-31 11:08:21
问题 Is there a way to get the ID of the picture that is the current profile picture for a user? Edit: OK, seems there is no trivial way to get the ID! However, it appears from random testing that every user has a single album with attribute type="profile" , and the first image in this album is always the profile picture, so it is possible to get the ID of the profile picture that way. Can some more experienced with Facebook confirm that this is indeed always the case? 回答1: You can get the users

Facebook login in fragment in android

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-31 10:41:36
问题 I'm trying to login Facebook using custom interface it worked fine in Activity class. same thing i have to do in Fragment too. but Callback is not executing. is it not possible to add CallbackResult in Fragment's OnActivityResult ?? 回答1: Yes it's Posssible to implement facebook login in fragment, the only thing you need to do is call OnActivityResult in your host activity like this: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super

Find Expire Time for an access token

百般思念 提交于 2019-12-31 09:33:13
问题 Is there any way to use the graph api to find out when a page access token, or application token will expire? 回答1: There is now an API version of the debugger tool. See https://developers.facebook.com/docs/authentication/access-token-debug/ 回答2: Update: There is a new API endpoint to access information about an access token. You can find info here: Debugging Access Tokens and Handling Errors https://graph.facebook.com/debug_token?input_token=INPUT_TOKEN&access_token=ACCESS_TOKEN input_token: