facebook like button for redirecting site - facebook

I have special offerings gallery site (lets say example.com) and each offering has a "Like" button. "Like" button has example.com/45 url which directs original offering site (lets say superoffer.com). The problem is that my like button shows superoffer.com "likes" and not my redirect url likes. How can i pass this problem.

You can't. Facebook does not allow you to create likes for pages that do redirects. You should make example.com/45 a landing page that links the user to the destination page. This way Facebook will send the user to your site, then the user can click a link to go to the next site.

Related

Notify user who liked my website

I have a website that have a like button with url pointing to the website's url. The like button works, but I can't seems to figure out how to send notification to users who like the button. I understand that the admin button for a like button is no longer possible and the migration window is already closed. I should change the URL to a facebook page. But if I change it to a facebook page, then when the user share the link, they will open the facebook page, not my website. So how do I make it possible for the user to share my website, but still be able to notify them of any news.

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

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/

A "Like" button for Twitter, but to follow a Twitter stream?

With Facebook's social plugins, you can create a "Like" button which likes a webpage. This defaults to the URL of the page you put it on. However, if you set the page URL to point to a Facebook group, then users who click on it will "like" the group and join it. Twitter's "Tweet" buttons is to tweet the current page, is there a way to make a button which will let users follow your twitter feed with one click, which you can put on your web site / blog?
You certainly can do this.
Documentation is here:
http://dev.twitter.com/anywhere/begin#follow-buttons