简体   繁体   English

Facebook Like按钮也可以发布到页面墙?

[英]Facebook Like button that posts to page wall as well?

I have a online shop. 我有一个网上商店。 On the home page there are products, with a like button. 主页上有带有“赞”按钮的产品。 When a person clicks on the button, it goes to their profile and it says that they liked it. 当某人单击该按钮时,它会转到他们的个人资料,并说他们喜欢它。 However, I also want when the user clicks like, that it is posted to my BUSINESS FACEBOOK PAGE as well. 但是,我还希望用户单击时也将其发布到我的“业务脸书”页面上。

1. Is this possible?
2. Is this possible using the standard facebook like button?

I am implementing this on a site with Drupal which is using the FBConnect module. 我正在使用FBConnect模块的Drupal网站上实现此功能。

  1. Yes
  2. No 没有

We can't do anything with that standard facebook like button. 我们无法对按钮之类的标准Facebook做任何事情。 That's the way it is. 它就是这样儿的。 However, we can achieve what you want by other means. 但是,我们可以通过其他方式实现您想要的。

Since you're the owner of the business page, you can get the access_token for it, preferably with publish_stream permission . 由于您是公司页面的所有者,因此,最好使用publish_stream权限获取它的access_token Then you can use edge.create event on the pages with the like button and detect that to publish on your business wall . 然后,您可以使用“ ”按钮在页面上使用edge.create事件,并检测它是否要发布在您的企业墙上

Check the links. 检查链接。 For the access_token / authentication link, look for "Page Login". 对于access_token /身份验证链接,请查找“页面登录”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM