Facebook page automatic “like” URL (for QR Code)

前端 未结 6 772
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-25 08:44

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\" yo

相关标签:
6条回答
  • 2020-12-25 09:14

    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

    0 讨论(0)
  • 2020-12-25 09:16

    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.

    0 讨论(0)
  • 2020-12-25 09:25

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

    0 讨论(0)
  • 2020-12-25 09:31

    I'm not an attorney, but clicking the like button without the express permission of a facebook user might be a violation of facebook policy. You should have your corporate attorney check out the facebook policy.

    You should encode the url to a page with a like button, so when scanned by the phone, it opens up a browser window to the like page, where now the user has the option to like it or not.

    0 讨论(0)
  • 2020-12-25 09:34

    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"

    0 讨论(0)
  • 2020-12-25 09:35

    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.

    0 讨论(0)
提交回复
热议问题