facebook-like

Like Button og: image and og:title not being recognised

筅森魡賤 提交于 2019-12-04 02:27:33
问题 When using the like button, the defined og:image and og:title do not show on facebook page. Link to example .. It's the like button at bottom of the article and not the one at the top of the page: http://www.nflfc.co.uk/main.php?articleId=221&pageId=3&teamId=3 Using the linter I get the following info which all points to everything being ok but no joy... http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.nflfc.co.uk%2Fmain.php%3FarticleId%3D221%26pageId%3D3%26teamId%3D3

Facebook I like button not working all the time

一笑奈何 提交于 2019-12-04 00:00:46
问题 I have used the following code to implement the like - button: Header <!-- Facebook Metatags --> <meta property="og:image" content="http://mysite/logo.gif"/> <meta property="og:locality" content="mycity"/> <meta property="og:country-name" content="Germany"/> <meta property="og:latitude" content="52.xxxxxxx"/> <meta property="og:longitude" content="9.xxxxxxx"/> <meta property="og:type" content="product"/> <meta property="og:site_name" content="mypage.com"/> <meta property="og:url" content=

Mobile Website Facebook Login using Facebook App for login details

假如想象 提交于 2019-12-03 23:20:42
Using a web browser e.g. Chrome on Android, if a mobile website requires a user to be logged in to Facebook and they are not, the browser will ask for Login details even though the phone may be logged in to Facebook via the Facebook native App. Is there any way to get details from the Facebook App without the user having to log in again? VadymVL If you want to login in website in a browser, using Facebook account from Facebook app - it is impossible, without intermediary application, or service. And even with it, I don't think, that you can get user login data. Other approach - is try to

Facebook Like button for one facebook page of an app from it's own ios app

爷,独闯天下 提交于 2019-12-03 23:09:17
问题 I am looking for Like Button to be shown in my ios native app, users of that app have already connected to app via facebook account. there are several questions related to Facebook Like Button on stackoverflow but those are not specific to authorized single facebook page of the app. According to official doc of facebook, facebook pages can not be liked via built-in action o open graph api. But want only one official facebook page of that app to be liked by user when he hits like button. i don

Facebook Fan Gate - Displaying the 'Reveal\" Content

大兔子大兔子 提交于 2019-12-03 21:36:49
I'm trying to add a fan gate to my page, and I can get the "pre-like" content to show, but after I like the page - the post-like content isn't showing up. It shows the same pre-like content, regardless of whether I like the page or not. This is the code I'm using in my index.php file... require 'facebook.php'; $app_id = "myappid"; $app_secret = "myappsecret"; $facebook = new Facebook(array( 'appId' => $app_id, 'secret' => $app_secret, 'cookie' => true )); $signed_request = $facebook->getSignedRequest(); $page_id = $signed_request["page"]["id"]; $page_admin = $signed_request["page"]["admin"];

fail to publish a facebook like from my android app to a given postId

痴心易碎 提交于 2019-12-03 21:27:56
问题 I'm trying to publish a facebook like from my android app to a given postId = 10154194181895153 . I have read many ways to do so. But each of them returned an fb response error. Can you please explain me the difference between A and B? I have tried to move A to a asyncTask (C) but it didn't help as you can see. fbLikeBtn.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // fbLike_optionA(); // fbLike_optionB(); fbLike_optionC(); } Option A {Response:

How do you get the total likes for a URL (Likes and Shares)?

我怕爱的太早我们不能终老 提交于 2019-12-03 20:31:28
问题 The "Likes" plugin that I've dropped on my page displays both the number of times the button has been directly clicked, as well as the number of times the page URL has been shared or the Like has been commented on. When I use the Graph API to check out my object though, it only shows the number of direct "Like" clicks. Here is an example object: { "id": "17678692xxxxxxx", "name": "The Dali Lama Returns", "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/161984_176786925772923

Getting Facebook Like count

▼魔方 西西 提交于 2019-12-03 19:42:32
问题 I have integrated Facebook Like into my website.Now i need to get/list the count of the Facebook like in the Admin panel of my website. Is there any way to get this done?Need suggestions.Thanks in advance. 回答1: In order to get the number of likes of any object using Facebook API, use a Facebook API of your choice and commands like this: https://graph.facebook.com/< your object id>/ You will receive a JSON object and you can extract the number of likes from it: { "id": "567454", "link": "http:

30 Facebook Like buttons on a page overburden the web browser?

好久不见. 提交于 2019-12-03 15:41:42
On a page that contains a list of about 30 entries, each of them is Facebook-likable (each entry's HTML contains a Like button), and each of them is either displayed or not (depends on a filter setting): The page takes several seconds to load entirely The page uses lots of memory, thanks to the Like buttons The page uses CPU even if the user doesn't interact (every 100ms or less, one of the Like buttons fires an event using Javascript) If I do not change the DOM tree, just change element visibility, the buttons seem to be reloaded anyway On a PC with more than 1 GHz and 1 GB mem, the page is

FB Like button shows up only once - on first load of my AngularJS view

假如想象 提交于 2019-12-03 15:09:55
I am trying to place the FB like button on my single page site built on Angular JS. The like button has to be displayed on a view (different than the index.html) displayed by a controller. But the like button shows up only for the first time I load that particular view. The button do not show up if I come back after visiting another view. Below is the code which loads FB SDK in the controller for the view - (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) { return; } js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js