是否可以通过 API 为 Facebook 页面点赞? [英] Is it possible to LIKE a Facebook Page via the API?

查看:27
本文介绍了是否可以通过 API 为 Facebook 页面点赞?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过 Open Graph API 为 Facebook 页面点赞?

Is it possible to LIKE a Facebook Page via the Open Graph API?

也许 POST 到http://graph.facebook.com/#{FB_PAGE_ID}/likes ???

Maybe POST to "http://graph.facebook.com/#{FB_PAGE_ID}/likes ???

这是我在 API 中唯一能找到的关于创建 LIKE 的内容:

This is the only thing I could find in the API about creating a LIKE:

/POST_ID/likes like the given post none

/POST_ID/likes like the given post none

推荐答案

实际上,这是不可能的.你不能喜欢页面.检查这一点:喜欢"使用 Facebook Graph API 的页面.我不得不使用一个网站来做一个页面.

Actually, it's not possible. You can not like pages. Check this: 'Like' a page using Facebook Graph API . I had to use a website to do like a page.

我经常遇到的错误是关于许可白名单的.好像这个特定的功能只适用于特定的应用程序.

The error I always got was something about permission whitelist. It seems that this specific function is only available for specific apps.

在我的脑海中,我认为您可以使用 javascrip sdk 获得边缘创建通知,您可以将其用作添加 fb 页面的回调

At the top of my head, I think you can get a edge create notification with the javascrip sdk that you can use as callback for adding a fb page

这篇关于是否可以通过 API 为 Facebook 页面点赞?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆