[facebook] Facebook page automatic "like" URL (for QR Code)

I was wondering if one could construct a URL for automatically liking a Facebook page. Then this URL could be converted to a QR Code so people can automatically "like" your page by reading it with their smartphone.

I have been searching a lot, but all I could find so far are commercial services like Spotlike, Likify, Social QR Code etc. I don't want a solution that relies on such commercial services.

I am starting to suspect that Facebook has not enabled this possibility for understandable reasons (abuse and such). Still, I was hoping it would be possible to do this somehow, even by just creating my own intermediary service. In the latter case what would be basically required for creating such a service?


EDIT:

I already did try a URL like this: http://www.facebook.com/plugins/like.php?href=http://facebook.com/interlinkONE

This URL (also when encoded as a QR code) did not really give a desirable result on an iPhone, as it showed a blank page with a tiny "like" button that was barely discernible. Also, it did not appear to work even when I attempted to click the "like" button.

Source: http://qreateandtrack.com/2010/10/18/how-to-create-qr-codes-for-the-facebook-like-button/

This question is related to facebook url qr-code smartphone

The answer is


Have you tried using the fb:// protocol?

To have them like your page when they scan the qr code, it goes like this:

fb://page/(pageID)/addfan

If you need to get the pageID, replace "www" with "graph" in the Facebook url when you visit your page in a desktop browser and it will display the ID and other data.

Not only does this add them automatically, but it opens up the page in the FB app instead of the mobile browser.

As far as legality, I would assume as long as you put something like "Scan to like our page", you're in the clear. They know what they're getting into.


In my opinion, it is not possible for the like button (and I hope it is not possible).

But, you can trigger a custom OpenGraph v2 action, or display a like button linked to your facebook page.


This has changed, it's now fb://profile/(profileID)


The answers above seem partly outdated.

The URL builder on https://developers.facebook.com/docs/plugins/like-button/ worked nicely for me.

You can configure, preview and the get the code/URL in different flavors: HTML5, XFBML, IFRAME, URL


For a hyperlink just use www.facebook.com/++page ID++/like

Eg: www.facebook.com/MYPAGEISAWESOME/like

To make it work with m.facebook.com here's what you do:

Open the Facebook page you're looking for then change the URL to the mobile URL ( which is www.m.facebook.com/MYPAGEISAWESOME ).

Now you should see a big version of the mobile Facebook page. Copy the target URL of the like button.

Pop that URL into the QR generator to make a "scan to like" barcode. This will open the m.Facebook page in the browser of most mobiles directly from the QR reader. If they are not logged into Facebook then they will be prompted to log in and then click 'like'. If logged in, it will auto like.

Hope this helps!

Also, definitely include something with a "click here/scan here to like us on Facebook"


Examples related to facebook

I am receiving warning in Facebook Application using PHP SDK React-Native: Application has not been registered error Can't Load URL: The domain of this URL isn't included in the app's domains Facebook OAuth "The domain of this URL isn't included in the app's domain" Facebook login message: "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings." Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `ListView` Open Facebook Page in Facebook App (if installed) on Android App not setup: This app is still in development mode IOS - How to segue programmatically using swift Get ALL User Friends Using Facebook Graph API - Android

Examples related to url

What is the difference between URL parameters and query strings? Allow Access-Control-Allow-Origin header using HTML5 fetch API File URL "Not allowed to load local resource" in the Internet Browser Slack URL to open a channel from browser Getting absolute URLs using ASP.NET Core How do I load an HTTP URL with App Transport Security enabled in iOS 9? Adding form action in html in laravel React-router urls don't work when refreshing or writing manually URL for public Amazon S3 bucket How can I append a query parameter to an existing URL?

Examples related to qr-code

How to decode a QR-code image in (preferably pure) Python? Barcode scanner for mobile phone for Website in form How to create a QR code reader in a HTML5 website? How much data / information can we save / store in a QR code? Android, How to read QR code in my application? How to generate a QR Code for an Android application? Facebook page automatic "like" URL (for QR Code) What is the best Java QR code generator library? Free c# QR-Code generator Dynamically generating a QR code with PHP

Examples related to smartphone

What is the technology behind wechat, whatsapp and other messenger apps? Facebook page automatic "like" URL (for QR Code) Can we install Android OS on any Windows Phone and vice versa, and same with iPhone and vice versa?