facebook-like

Facebook share url thumbnail problem [duplicate]

若如初见. 提交于 2019-11-26 13:18:51
问题 Possible Duplicate: How does Facebook Sharer select Images? Want to have share thumbnail when user shares site url using share button on site which uses http://www.facebook.com/sharer.php to achieve that. Site dose not have img tags, all images are defined in css. I added meta tags for image: <meta property="og:image" content="/images/branding/branding-logo.png"/> and <link rel="image_src" href="/images/branding/branding-logo.png"/> but it's not working :( 回答1: Use the full list of Open Graph

What&#39;s the Facebook&#39;s Graph API call limit?

馋奶兔 提交于 2019-11-26 11:43:06
Is there any restriction in number of calls we make to facebook's graph api? and If it is there then how many calls can we make per app daily? Zain Khan The best answer to this question from another forum , from Ash Rust in 2010: "After some testing and discussion with the Facebook platform team, there is no official limit I'm aware of or can find in the documentation. However, I've found 600 calls per 600 seconds, per token & per IP to be about where they stop you. I've also seen some application based rate limiting but don't have any numbers. As a general rule, one call per second should not

&#39;Like&#39; a page using Facebook Graph API

左心房为你撑大大i 提交于 2019-11-26 11:07:57
Using the Graph API I'd like to be able to have an authorized user "like" a page. I tried posting the following https://graph.facebook.com/${PAGE_ID}/likes?access_token=${ACCESS_TOKEN} And I get an HTTP error 500 accompanied by "Invalid post_id parameter" in the JSON response body. Looks like the /likes resource is suited to liking a wall post and not a page. How do I get this to work with a page? bkaid Facebook has announced support for liking URL's outside of Facebook by using the official built-in Like action . You need to have publish_actions permissions. The graph url for this is: https:/

How to get share counts using graph API

a 夏天 提交于 2019-11-26 10:58:32
I can get the share count of an URL using PHP SDK and using the deprecated rest API, but didn't find a way to get the share counts of an URL using graph API. Is there any way to find out? chandrajeet Here's a list of API links to get your stats: Facebook: https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json Reddit: http://buttons.reddit.com/button_info.json?url=%%URL%% LinkedIn: http://www.linkedin.com/countserv/count/share?url=%%URL%%&format=json Digg: http://widgets.digg.com/buttons/count?url=%%URL%% Delicious: http://feeds.delicious.com/v2/json/urlinfo/data?url=%%URL%%

Android WebView for Facebook Like Button

断了今生、忘了曾经 提交于 2019-11-26 10:28:41
问题 I\'m trying to make facebook like functionality in Android WebView (project specification does not allow browser opening, or any out of application activity). So, restrictions are that it has to be done in WebView. I\'ve managed to make it a dialog, and apon user\'s click like button, it (the WebView) redirects successfully (in the same view) to facebooks login page. After successful authentication, the WebView (in a dialog) is redirected to blank page with facebook header. Interestingly

How to get Likes Count when searching Facebook Graph API with search=xxx

半腔热情 提交于 2019-11-26 10:25:33
问题 I am currently using Facebook graph api search to search posts as http://graph.facebook.com/search?q=iwatch&type=post&access_token=xxxxx It returns in JSON format fields and use to include the like:count for a given post. After reading the dev roadmap (https://developers.facebook.com/roadmap/) for changes after July 10th I am instructed to use the summary=true param but I have no idea how to get this to work with search? From FB blog on roadmap. Removing \'count\' from \'comments\' Graph API

Facebook “Like” button callback

我只是一个虾纸丫 提交于 2019-11-26 08:58:52
问题 I am interested in implementing the facebook \"Like\" button, but I would like to know what user is clicking on this button so I can get some useful information from this. From what I have read, facebook is leaving us in the dark on who is clicking on what. ANyone have an idea on how I could track which user clicked on a like button for a particular product? UPDATE: The like button is rendered by facebook either through an iFrame, or through xFBML. This is why it is difficult to track who

How to trigger Facebook like button from custom button?

萝らか妹 提交于 2019-11-26 08:04:27
问题 I have created a custom Facebook like button. How do make it that when I click the button, it will trigger the like button provided by Facebook like the one below? 回答1: According to facebook policy on Social Plugins point 4 states: "Don’t obscure or cover elements of social plugins." You can't change the image directly because it's provided by Facebook. 回答2: The Facebook button is in an iFrame with a source that is on a different domain, Facebook’s domain, and so you can't change the button

Facebook Like Button - how to disable Comment pop up?

自闭症网瘾萝莉.ら 提交于 2019-11-26 06:13:46
问题 I\'d like to disable the Comment box that pops up when a user clicks the Facebook (fbml) Like button I\'ve placed on my site. Is this possible to do? I can\'t find any details in the documentation. 回答1: Simplest fix to hide the comment box after Facebook Like (XFBML version not the iframe one) is as given: .fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr { display: none !important; } Put the CSS style in any of your CSS file and see the magic, it works :) 回答2: Putting

How to add to my android application a button than do like to a facebook page?

戏子无情 提交于 2019-11-26 04:27:29
问题 I\'ve tried this: https://github.com/crowjdh/android-facebook-like-button-integration but it not work. I search something more simple than do \"like\" to my facebook page when user press a button to android application I\'m developing. thank you 回答1: Use this library: Facebook Like button for Android. There is detailed manual here. Sources: https://github.com/shamanland/facebook-like-button Gradle dependency: repositories { mavenCentral() } dependencies { compile 'com.shamanland:facebook-like