facebook-like

Facebook Graph API - Get like count on page/group photos

守給你的承諾、 提交于 2019-11-27 00:39:08
问题 I've been testing graph API and ran into a problem. How can I get like count from photos of a page/group? I'm administrator/creator of a group. When entering in https://developers.facebook.com/tools/explorer/ certain photo ID from that group it brings almost all data, even comments, but not the like count. For like part it needs (according to docs) access token despite the fact that anyone can access that info. How to get access token of my page/group with required permissions and how to use

Facebook like and share button with callback

空扰寡人 提交于 2019-11-26 22:37:32
问题 I have a webpage where I have placed a Facebook like & share button and corresponding javascript callback functions are also present. Now the problem is, the javascript callback fires only when the user 'likes' and doesn't seem to fire when the 'share' button is pressed. Its like I need to award the user everytime he/she shares the link. Whereas with 'like', a user can only like a link once (not considering unlike/re-like). I know that the Share button is deprecated. But facebook now provides

How to trigger Facebook like button from custom button?

泪湿孤枕 提交于 2019-11-26 21:53:40
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? Alexander Nenkov 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. adeneo 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 as it's protected by the same-origin policy. Also, Facebook’s policy prohibits changing

How to know who clicked the Facebook “Like” button on my site?

非 Y 不嫁゛ 提交于 2019-11-26 21:39:06
问题 Can I know who clicked "Like" on my website ? 回答1: Although some FB social plugins show people who have liked your site (e.g. Likebox), actually this is not possible. You can only know how many they are, but not who they are. 回答2: You can check all of your facebook friend's wall to see your post. Rather, you could try the following Copy your post link from the address bar. Go to http://developers.facebook.com/docs/reference/plugins/like/ Paste your link in "URL to like" text box. Click

Is there an API to force Facebook to scrape a page again?

流过昼夜 提交于 2019-11-26 19:36:12
I'm aware you can force update a page's cache by entering the URL on Facebook's debugger tool while been logged in as admin for that app/page: https://developers.facebook.com/tools/debug But what I need is a way to automatically call an API endpoint or something from our internal app whenever somebody from our Sales department updates the main image of one of our pages . It is not an option to ask thousands of sales people to login as an admin and manually update a page's cache whenever they update one of our item's description or image. We can't afford to wait 24 hours for Facebook to update

Adding the Facebook Like Button in an iPhone App

孤街浪徒 提交于 2019-11-26 19:15:21
问题 Does anyone know how I would include a facbeook "like button" in an iphone app. I tried calling the iframe inside of a UIWebView but that doesn't work. 回答1: Check out this nice bit of code: http://angelolloqui.blogspot.com/2010/11/facebook-like-button-on-ios.html Add the FBLikeButton class to your view: FBLikeButton *likeButton = [[FBLikeButton alloc] initWithFrame:CGRectMake(0, 372, 320, 44) andUrl:@"http://www.facebook.com/pages/De-Zilk/108209735867960"]; Thanks a lot Angel García Olloqui

How do I test the Facebook “Like” button on localhost?

前提是你 提交于 2019-11-26 17:41:32
问题 It is possible to test " Like " button on localhost? 回答1: Dave's answer is correct, however, I just discovered a workaround: You can make your local machine accessible by using http://localtunnel.me . You'll need to (temporarily) change some URLs used in your app code / html so links point to the temporary domain, but at least facebook can reach your machine. 回答2: Not really; facebook has to crawl your site to pull in the title, description, and thumbnail. It can't get to your site if it's on

How to handle facebook like with confirm in android webview

独自空忆成欢 提交于 2019-11-26 16:38:52
问题 I am trying to implement facebook like functionality using android webview. It is working fine without "confirm" dialog. But its not working when like needs confirmation. Here is the code snippet i am using. private void setUpWebView() { likeWebView.setVerticalScrollBarEnabled(false); likeWebView.setHorizontalScrollBarEnabled(false); likeWebView.setWebViewClient(new FacebookWebViewClient()); likeWebView.setWebChromeClient(new MyChromeClient()); likeWebView.getSettings().setJavaScriptEnabled

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

懵懂的女人 提交于 2019-11-26 15:28:15
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 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-button:0.1.8' } The simplest way to add like button: <com.shamanland.facebook.likebutton.FacebookLikeButton

Do I need an appId for a XFBML version of the Facebook Like button?

这一生的挚爱 提交于 2019-11-26 14:49:39
问题 I'm really confused. I'm trying to use some of the very simple Facebook plugins on my site, specifically the basic "Like" button. I already know how to use the limited version with an iFrame. However, now I'm trying to figure out the XFBML method and the online documentation seems to make a lot of assumptions about what you already know and really short on working examples. For example, they show you how to call the JavaScript Init and give you the single line of HTML code for element fb:like