可以通过API喜欢Facebook页面吗? [英] Is it possible to LIKE a Facebook Page via the API?

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

问题描述

可以通过Open Graph API喜欢Facebook页面吗?



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



这是我在API中找到的唯一可以创建一个LIKE的东西:



/ POST_ID /喜欢给定的帖子无

解决方案

其实这是不可能的,你不能喜欢页面。 喜欢一个使用Facebook Graph API的页面,我不得不使用一个网站做一个页面。



我经常遇到的错误是许可白名单,似乎这个特定的功能只适用于特定的应用程序。 >

在我的头顶,我想你可以通过javascrip sdk获得一个边缘创建通知,您可以使用它作为回调来添加fb页面


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

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

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

/POST_ID/likes like the given post none

解决方案

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.

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天全站免登陆