如何将旧的点赞按钮与新的 Facebook 页面合并?
我的网站上有一个“喜欢”按钮很长时间了,现在它有大约 500 个喜欢。然而,这个按钮只喜欢网站的实际链接,而不喜欢 Facebook 上的页面。 今天我为我的服务创建了一个新页面,尽管我找到了一种为该页面制作“喜欢”按钮的方法,但我想知道是否有一种方法可以转移我在旧按钮上的“喜欢” (仅链接)到新按钮(fb 页面),也可以使旧的“仅链接”按钮实际上链接到新页面(现在链接按钮和页面按钮的行为就好像它们完全不相关) )。
I've had a like button on my site for a long time, and right now it has ~500 likes. However, this button only likes the actual link to the website and not a page on Facebook.
Today I have created a new page for my service, and even though I've found a way to make a like button for the page, I'd like to know if there was a way to transfer the likes I had on the old button (link only) to the new button (fb page) and also maybe make it so that the old "link-only" button actually links to the new page (right now the link button and page button act as if they're completely unrelated).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,没有办法将点赞从一个图形对象转移到另一个图形对象。
但你可以做一些事情:
实际上,每个“喜欢”按钮都会在 opengraph 中创建边缘,该边缘在 Facebook 上有一个页面,因此您可以告知已经喜欢您的“旧页面”的人新页面的存在。
您可以向喜欢您页面的用户发布流更新,就像使用 Facebook 页面一样。有两种方法可以进入发布界面:
从 https://developers.facebook.com/文档/opengraph/#publishing
有关如何通过代码执行相同操作的示例,请参阅 http://developers.facebook.com/blog/帖子/465
Unfortunately, there is no way to transfer likes from one graph object to another.
But there is something you can do:
Every like button in fact creating edge in opengraph which have a page on Facebook, so you can inform people who already likes your "old page" about existence of new one.
You can publish stream updates to the users who have liked your page just like you can with Facebook Pages. There are two ways to get to the publishing interface:
From https://developers.facebook.com/docs/opengraph/#publishing
For samples how to do same thing from code look at http://developers.facebook.com/blog/post/465