Linking my FB page with the like button - facebook

I just added the FB like button (html5) to my website page. Is there a way to link it so it notifies my personal FB page when someone likes my website?

No, this is not possible.
However, you could subscribe to the edge.create javascript event on your website, and connect this up so some server-side script that notifies you when someone has clicked like on your website.
See https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/

Related

Force User To Like FB Page Before Visiting My Website

As part of a website that I am developing, I have a Like Gate Page that I want to use in order to force my site visitors to press the like button before they are redirected to the site homepage.
When a Liker visitor comes back for the LIKE Gate page he/she should be redirected automatically to the website homepage (he/she already pressed like).
Important:
The whole website including the Like Gate is not found in a Facebook App/Page Tab!
It is OK to ask the user to login before he/she can press the Like button.
Well, in your web page you could implement Facebook login and get user's permission to see his/her likes. Get said likes from Graph API, see if your page is in the list and depending on that, either show your web page, or redirect user to your facebook page. You will need user_likes permission for that.
By using Facebook Javascript SDK Methods FB.Event.subscribe, FB.getLoginStatus, FB.api, authResponse, pages.isFan, access.token and Javascript SDK and a little bit PHP SDK.
I saw one, almost perfect that can be site-integrated, fully-explained, and free in this blog: http://daneworx.blogspot.com/2014/02/how-to-force-users-to-like-your-page.html

Publishing Updates to Facebook Users That Like'd a Link on My Website

I am trying to figure out how to get to a spot where I can interact with those that "LIKE" a link on my website. I have seen both of these articles on Stack, but they have not helped me.
Facebook Like Button + Open Graph + Website = Pushing Updates to Likes?
No "Admin Page" link on Facebook Like button on a web page
I have a feeling that the second link above is just not up to date anymore for the new Facebook.
My site is http://www.UpcomingEvents.com.
Any help would be GREATLY appreciated!! We have some heavily LIKE'd urls and it would be great to be able to get info to those who are interested.
Thanks in advance!
Dennis
I must say, luckily this is not possible anymore. I don´t want to suddenly get stuff in my stream on facebook just because i liked one article/page on a website.
Here´s the info:
https://developers.facebook.com/docs/reference/plugins/like/migration/
With this admin page deprecated, developers will no longer have the ability to publish updates to users who have clicked on a particular Like Button. The REST endpoint to publish updates for a Like Button will also be deprecated.

Response from edge.create if Like clicker has no FB page

I'm subscribing to a Like button on my page to notify me when someone clicks the Like button. I then give this user a discount for telling their friends about the site. But what if the user doesn't have a Facebook page? Will I still get a call at my handler function. The Response passed by the edge.create call to the handler is just the URL that was liked, so there doesn't seem to be any flag passed that tells me that the user didn't really post anything to a FB page. How can I handle this and not be giving discounts for nothing?
Thanks
What do you mean by "user has no FB page"? Not every Facebook user will also have a Facebook page. I only have pages on my Facebook user account are there solely for testing purposes. If I wasn't developing apps with the Facebook API, then I wouldn't have any at all. So requiring your users to have a Facebook page may not be in your best interest. Just let them like your website using their normal Facebook user account.

How to do like page on facebook in program side

I have problem on Facebook "like" button.
I put facebook "like" button in my page but I click that button it is not navigate to what I gave in href link and I want to perform facebook "like" button action same as facebook.
I can "like" this link on facebook how to do same as in my website using facebook "like" button ?
You can only 'Like' a fan Page by clicking the FB supplied button that sits in the parent FB page outside of your iframed application page. As frustrating as this can be to designers and UX developers it is potential security flaw if an application (boxed in as a Fan page) is allowed to 'Like' itself. I.e. users could be duped into 'Liking' a Page onload without their consent.
You can get the count of Likes for a Fan page. That is the only 'Like' action permitted on this object type.
http://forum.developers.facebook.net/viewtopic.php?pid=294757
You can't add likes to a profile using the Facebook Api.
Read here for more details 'Like' a page using Facebook Graph API
Unfortunately, this is not possible. You can only like a post via the graph api acccording to the docs.
Unfortunately it is not possible via any of the API's to like a page programmatically.
This is to prevent spam where people create apps to mass-like pages.
Hope this helps.
You cannot make a user like a page. That isn't possible unless you use a XSS attack (which facebook probably prevents), and you'll get banned from facebook. If you want to know how to place a like button, see http://developers.facebook.com/docs/reference/plugins/like/

Facebook Like Button On My Website To Like A Facebook Page, Not My Website

I have a Facebook like button on my website, however as it works currently it only lets users like the page that they are currently on. Is it possible to make the button like our Facebook page instead of our website?
Go to the developers page which provides Social Plugin. There, just add at the "URL to Like" of the button, the address of your facebook page. E.g. http://www.facebook.com/mypage
This way, once the users push the like button, your facebook page will get automatically a like and they will also follow the updates of the facebook page
You can use the badge creator to create a badge for your page that a user can interact with for "like" purposes.
you could try this page this might work better for you, they can like the facebook page direct on your site http://developers.facebook.com/docs/reference/plugins/like-box/
This is because you haven't put your right page url in facebook like box generator. Go to you facebook page and copy the link from there. Now use this to generate facebook like box. You can also get help from this http://www.codematrics.com/my-website-and-facebook-page-have-different-likes/