facebook-like

Like a Facebook Post externally using Graph Api - example

☆樱花仙子☆ 提交于 2019-12-24 09:59:16
问题 Could someone please give me an example of posting a like for a facebook post from an external app with an authenticated user? Say I have a feed pulling posts from facebook, and I want to create a button that lets the user like a post from my app. On click of this button, how could I best create that like so that the post is updated on Facebook with the user's like? My thoughts are that I could make a javascript onclick function that ajaxes to a php script that does something like - $facebook

How do I publish to the group of people who liked a webpage or object?

扶醉桌前 提交于 2019-12-24 09:23:47
问题 So I similar question was asked about a year an half ago here: How do you programmatically publish to the Facebook feed associated with a 'liked' page? Since then facebook has changed somethings (I know shock). If you don't want to read that other question, what I'm trying to do is publish a message to all people who liked a certain webpage (a website with a like button). The method described in the answer no longer works. I haven't seen facebook say any where that they don't official support

FB.getLoginStatus inside edge.create callback is returning unknown status and null session after logging in from the popup

送分小仙女□ 提交于 2019-12-24 03:49:33
问题 Has anybody tested the scenario below? 1- Log out of Facebook 2- Go to page that has the like button 3- Click like then log in to Facebook from the popup window I am subscribed to edge.create and calling FB.getLoginStatus(function(response) { }); in order to make sure the user is logged in when the like button is clicked. When the like button is clicked, response status is unknown and session is null which is not what I'm expecting there. FB.Event.subscribe('edge.create', function(href) { FB

Facebook Like Button doesn't increment

可紊 提交于 2019-12-24 03:43:17
问题 I've added some like buttons on my personal web page: edoardo.torreggiani.net but only one button works fine. THIS WORKS (homepage): <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fedoardo.torreggiani.net&send=false&layout=button_count&width=100&show_faces=false&action=like&colorscheme=light&font&height=21&locale=en_US" scrolling="no" frameborder="0" style="border: none; overflow: hidden; width: 100px; height: 21px; " allowtransparency="true"></iframe> THIS DOESN'T

Blackberry facebook Graph API. “Like” the post of users

可紊 提交于 2019-12-24 02:09:47
问题 I am developing blackberry application that use the Facebook functionality. I do every thing using the Graph API of facebook for blackberry. But my problem is that i m not able to "like" or "comment" on any post or photo. Can you please give the source code or help example on how to like the post of user. I read the "Post - Facebook Developers" but i m not getting what it actually saying or how to achieve this functionality. Any help is appreciated. Thanks in advance. 回答1: i dont know about

How to trigger Facebook Like from an image map?

橙三吉。 提交于 2019-12-23 23:04:31
问题 I've been trying for some time to create an image including the "like" icon but I'd like the icon to be "live", i.e when clicking on it the "like" action happens to that current page. I know how to use image map but I dont understand how link it to the "like" application. please help... 回答1: You can't trigger the Like a page from your code, this is because the like button is running inside an iframe and therefore isn't accessible from your code. The only Like action you can trigger yourself

How to get all people who liked Facebook post?

[亡魂溺海] 提交于 2019-12-23 22:14:11
问题 I have FB post I can click "77 people like this" and get all people I needed. Question: is there way to get these people by FB API ? PS I want to get 3 random names from these list so I need to have these people in JSON format 回答1: It's easy to do with FQL. This gets you three random ids of people who liked this event SELECT user_id FROM like WHERE object_id = 336638873112346 ORDER BY rand() LIMIT 3 If you wanted to get their names instead, you'd rewrite the query like this: SELECT uid, name,

Facebook Graph API. How to get likes for comment?

主宰稳场 提交于 2019-12-23 19:38:05
问题 I need to get ids of people who liked some comment. For example, I have the post with id 246595548763188_464132103676197 , and this post has comment with id 464146663674741. Then, I use Graph Api Explorer (https://developers.facebook.com/tools/explorer/) Permissions: user_groups Graph API URL: https://graph.facebook.com/464146663674741 Result: { "id": "464146663674741", "from": { "name": "Rostyslav Paranko", "id": "100001288191932" }, "message": "Українську мову доконають пуристи.", "can

Facebook Recommend Ignoring og:title Until Page Refreshed

旧巷老猫 提交于 2019-12-23 19:26:29
问题 I have the typical HTML5 implementation of the Facebook recommend button: <div id="fb-root"></div> <script type="javascript"> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; <? if ( $current_language == 'en' ): ?> js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; <? else: ?> js.src = "//connect.facebook.net/fr_CA/all.js#xfbml=1"; <? endif; ?> fjs.parentNode.insertBefore(js, fjs); } (document,

Facebook App Like server error?

一笑奈何 提交于 2019-12-23 18:31:51
问题 I have a sample app that has a 'Like' button. It works before but now it doesn't. I've tested this on jsfiddle.net before and it works too. But after I've uploaded my files on a server it has a bug. The 'Like' button pops up and then has this error: https://www.facebook.com/plugins/error/confirm/like?iframe_referer=https%3A%2F%2Fns2383.hostgator.com%2F~caryucla%2Fbpcontest%2FHTML%2FContestHome.php%2F&secure=true&plugin=like&return_params=%7B%22api_key%22%3A%22301719366592208%22%2C%22locale%22