Facebook 页面自动“点赞” URL(用于二维码)

发布于 2024-12-25 14:13:51 字数 1053 浏览 1 评论 0 原文

我想知道是否可以构建一个 URL 来自动喜欢 Facebook 页面。 然后,这个 URL 可以转换为 QR 码,这样人们就可以通过使用智能手机阅读您的页面来自动“喜欢”您的页面。

我已经搜索了很多,但到目前为止我能找到的只是商业服务,例如 SpotlikeLikify社交二维码< /a> 等等,我不想依赖此类商业服务的解决方案。

我开始怀疑 Facebook 出于可以理解的原因(滥用等)而没有启用这种可能性。尽管如此,我仍然希望能够以某种方式做到这一点,即使只是创建我自己的中介服务。在后一种情况下,创建这样的服务基本上需要什么?


编辑:

我已经尝试过这样的URL:http://www.facebook.com/plugins/like.php?href=http://facebook.com/interlinkONE

此 URL(也当编码为 QR 码时)在 iPhone 上并没有真正给出理想的结果,因为它显示了一个空白页面有一个几乎难以辨认的微小“喜欢”按钮。此外,即使当我尝试单击“喜欢”按钮时,它似乎也不起作用。

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

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/

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

彡翼 2025-01-01 14:13:51

我不是律师,但未经 Facebook 用户明确许可而点击“赞”按钮可能会违反 Facebook 政策。您应该让您的公司律师查看 Facebook 政策。

您应该将 URL 编码为带有“赞”按钮的页面,这样当通过手机扫描时,它会打开一个指向“赞”页面的浏览器窗口,现在用户可以选择是否喜欢它。

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.

笑忘罢 2025-01-01 14:13:51

在我看来,点赞按钮是不可能的(我希望它不可能)。

但是,您可以触发自定义 OpenGraph v2 操作,或显示链接到您的 Facebook 页面的“赞”按钮。

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.

落墨 2025-01-01 14:13:51

您是否尝试过使用 fb:// 协议?

要让他们在扫描二维码时喜欢您的页面,请执行以下操作:

fb://page/(pageID)/addfan

如果您需要获取 pageID,请在桌面浏览器中访问您的页面时将 Facebook url 中的“www”替换为“graph”,这样就会显示 ID 和其他数据。

这不仅会自动添加它们,而且会在 FB 应用程序而不是移动浏览器中打开页面。

就合法性而言,我认为只要您输入“扫描以喜欢我们的页面”之类的内容,您就可以了。他们知道自己将面临什么。

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.

晒暮凉 2025-01-01 14:13:51

对于超链接,只需使用 www.facebook.com/++page ID++/like

例如:www.facebook.com/MYPAGEISAWESOME/like

使其与 一起使用m.facebook.com 您要做的就是:

打开您要查找的 Facebook 页面,然后将 URL 更改为移动 URL(即 www.m.facebook.com/MYPAGEISAWESOME )。

现在您应该看到移动 Facebook 页面的大版本。复制点赞按钮的目标 URL。

将该 URL 弹出到 QR 生成器中以制作“扫描点赞”条形码。这将直接从 QR 阅读器打开大多数手机浏览器中的 m.Facebook 页面。如果他们尚未登录 Facebook,系统将提示他们登录,然后单击“喜欢”。登录后会自动点赞。

希望这有帮助!

另外,一定要包含“点击此处/扫描此处在 Facebook 上为我们点赞”的内容

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"

分分钟 2025-01-01 14:13:51

上面的答案似乎部分已经过时了。

https://developers.facebook.com/docs/plugins/like- 上的 URL 生成器按钮/
对我来说效果很好。

您可以配置、预览和获取不同风格的代码/URL:HTML5、XFBML、IFRAME、URL

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

巾帼英雄 2025-01-01 14:13:51

这已经改变了,现在是 fb://profile/(profileID)

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文