I have created Facebook registration page, What i want to do is user can register once they have clicked the like button otherwise it should say like "Click on the Like Button" something like that.so system should check whether the button has been clicked or not.any one aware of it?
Check that your site appears in the user's likes feed:
https://graph.facebook.com/UID/likes?access_token=ACCESS_TOKEN
It it does then proceed with registration, else redirect their attention to the like button
Related
When I visit this page (Facebook Like Button official page) in my Facebook browser, the like button is working very gracefully.
It works this way:
1 - Click the "like"
2 - There will be a sparkle animation showing
3 - Then the like action is done
However, when I put the same code in a page of mine, still in Facebook internal browser, after clicking the like button, there's no animation and I am redirected to a new page, in which I'm asked to confirm the like action.
Here is the screenshot of the new confirm box
Is there a way to let the user like my page directly without this "Do you want to like this page" confirm box? I want this feature because people are taking actions on my page and if they are directed to another page, the status of that page is gone.
Thanks for any kind of tips!
I using this to check how many likes are on my website
http://api.facebook.com/restserver.php?method=links.getStats&urls=http://mywebsite.pl
My Question is:
How to check who and when clicked facebook like button on my website?
There is no way to identify users who clicked a Like Button on your external Website, for privacy reasons. You can only see friends who liked the same URL by setting the "data-show-faces" flag in the Like Button Plugin.
You can subscribe to the edge.create event if you want to know when it gets clicked, but this still does not return WHO clicked it: https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe
I would like to synchronize LIKE buttons on Facebook with other webpage. Simply after I post on FB some article/video, there is a LIKE button. How do I get url of it, so I could add it to that other webpage with same article/video? I would like to archieve when somebody click LIKE button on FB or that webpage, they will be counted to the same list.
Example:
What URL I need to use to create a LIKE button, that would add people to this list:
http://www.facebook.com/browse/likes?id=386314241455183
I think you want to put a like button on your webpage that syncs with the corresponding facebook page. Check this link :
https://developers.facebook.com/docs/reference/plugins/like/
Scroll down the page, and go to Step1 ..
Enter the URL of your facebook page (eg : https://www.facebook.com/playbraindead) in the widget and click submit, it will give you the code (HTML,IFRAME etc) which you can add to your webpage and the likebox will sync!
I am developing a Facebook page for fans only. When a user lands on my page I am able to determine if it is a fan or not and display content appropriately. In the last few days I have noticed that non fans that land on my page and click on the native tab like button the page doesn't refresh to display the fan content.
What do I do about it? I haven't changed anything on my code to cause this. It just stopped working.
I didn't encounter such problems, but if you need a solution, try to subscribe to the edge.create event: https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/
This way, you will be able to detect if someone clicks a like button and, if the like button for your page is clicked, you can redirect the users back on your tab, like a sort of refresh
Sounds like it might be a Facebook bug, nothing in your code should have any affect on the native like button.
Try submitting the bug at http://bugs.developers.facebook.net/
I have created an app that will be used as a tab on my company facebook fan page. I have a new requirement to capture when the user clicks the like button on the facebook fan page and hide a portion of the app page (within the iframe) when the event fires. Although the like button is on facebook's page, is there a way to capture the click event of the like button (ie: javascript sdk) within my app iframe so I can hide appropriate elements?
Like this .... http://www.facebook.com/redbull
Thanks for any and all advice,
B
I found the answer...
How to detect Facebook Like button pressed and trigger event?
I checked the incoming request for fb_sig_is_fan.
I am afraid that this is not possible. Also it makes no sense! because Facebook will reload the page once you click on the like button!