facebook-like

Check if user likes page via Graph API

霸气de小男生 提交于 2019-11-28 11:38:43
问题 I have seen a few similar questions but I think this is new... I am trying to add a popover on a blog that will contain a Facebook like button for a Facebook page and wil only show if the user does not already like the Facebook page. Reading through the documentation this should be achievable with the Graph API pages.isFan method but does this require the user to give permissions? If so would it be possible to not have the app request permissions but rather fail gracefully? Any help much

Update Facebook Open Graph meta tag through JavaScript

血红的双手。 提交于 2019-11-28 08:59:35
I'm trying to update the meta content of the Facebook's Open Graph title. I updated the content, but when it published the feed, it's still pulling the old information. Example: <meta property="og:title" content="Title 1"/> I managed to update to <meta property="og:title" content="Title 2"/> When I click on the Facebook Like, it's still pointing the title to "title 1". How can I make it update? Hans Skov I'm guessing you figured this out already, but others may have the same problem. You can't change the Open Graph meta tags with JavaScript after the pageload, as Facebook requests the page

How to programmatically “press” a 'Like' button through a Facebook Application?

匆匆过客 提交于 2019-11-28 08:45:34
I'm developing this Facebook Application and I was wondering if it's possible (and how) to programmatically, through the Facebook PHP Graph API, press some 'Like' button on some page? Of course, this is optional on my application... I'm still not ready to really explain what application I'm doing, but it would be interesting to code such a feature. Is it possible somehow? You cannot do this. Facebok wont let you do a POST to /POST_ID/likes, you can only do a get request to retrieve their likes. What you are trying to do is a violation of facebook's TOS. I would suggest just adding a like

Facebook like button is asking to confirm the action

我只是一个虾纸丫 提交于 2019-11-28 05:51:35
To begin with, I've already read the following topics: Facebook Like without Confirm? Facebook Like button shows the "Confirm" link, but still cannot Like after confirming Including this topic: https://stackoverflow.com/questions/8940749/facebook-likeconfirm-button There are at least 25 apps hosted under dev.anuary.com host, sub domain of anuary.com . Neither of them ask for "like" action to be confirmed. Worth mentioning, is that there is another website ( http://sinonimai.lt ) hosted on the same host, that had a fan base of 10 000+ people and was recently disabled by Facebook. I didn't

Are there tags to specify the Google +1 story format in Google+ like og-meta for Facebook?

被刻印的时光 ゝ 提交于 2019-11-28 04:56:51
With Facebook we have the Open Graph tags that allow webmasters to specify how the story is displayed on Facebook. Is there something similar for the Google +1 button, that allows webmasters to specify the thumbnail image, description and title? Google+ seems to be ignoring the og-meta tags . texmex5 From Google+ help docs, we now have an official answer . Google uses schema.org microdata to generate rich snippets in search (and in Google+). There's a lot written about schema.org and how it relates to Facebook OpenGraph in these two links: See: http://www.google.com/support/webmasters/bin

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

我怕爱的太早我们不能终老 提交于 2019-11-28 04:46:40
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 it to get info I need? If possible I would like to get JSON from a single address if it is possible.

Facebook share link without JavaScript

五迷三道 提交于 2019-11-28 02:39:54
The following link is for sharing a page on Twitter: http://twitter.com/share Is there a similar option for Facebook that doesn't require JavaScript? I know about http://facebook.com/sharer.php , but that requires a get parameter to be inserted manually (which I'm not going to do), or with JavaScript (which doesn't fit my situation). Medeni Baykal You could use <a href="https://www.facebook.com/sharer/sharer.php?u=#url" target="_blank">Share</a> Currently there is no sharing option without passing current url as a parameter. You can use an indirect way to achieve this. Create a server side

How can I redirect once facebook like button is clicked?

有些话、适合烂在心里 提交于 2019-11-28 02:10:10
问题 Basically, here is an idea: I am starting a daily blog, and in order to gain access to sunday's posts, the user needs to share the site. I have figured out how to redirect once someone presses the +1 button, and how to redirect once someone tweets, but I have yet to figure out how to redirect after a facebook like. If anyone can help with this, I'll be very thankful. For the record, I plan on doing this as whitehat-edly as possible. Basically, the post will say that I'm trying to gain

Is it possible to “Like” a “fan page” using the Facebook SDK?

谁都会走 提交于 2019-11-27 23:52:41
问题 I am trying to let users "like" a Facebook fan page from within an Android app. I am able to successfully "like" objects such as wall comments using code like this, mFacebook = new Facebook(APP_ID); SessionStore.restore(mFacebook, this); mAsyncRunner = new AsyncFacebookRunner(mFacebook); Bundle parameters = new Bundle(); mAsyncRunner.request(COMMENT_ID + "/likes", parameters, "POST", new MyRequestListener(), ""); However, if I put in a page id rather than a comment id, I get this error

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

谁说我不能喝 提交于 2019-11-27 23:50:20
Can I know who clicked "Like" on my website ? 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. 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 preview. You will see the name + photo of your facebook friend in the right side (Yes, you can see only 2 to 3 friends)