通过Open Graph API管理Facebook Page选项卡应用程序吗? [英] Manage Facebook Page tab apps via Open Graph API?

查看:110
本文介绍了通过Open Graph API管理Facebook Page选项卡应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在研究Facebook Open Graph API.有一个管理页面"扩展权限,该权限允许通过模拟"发布到用户的Facebook Page新闻提要/墙.这是不错的功能,但是您可以通过API做更多的事情吗?

I have been investigating the Facebook Open Graph API. There is a "manage pages" extended permission which allows publishing to a user's Facebook Page news feed/wall via "impersonation". This is nice functionality, but is there anything more you can do through the API?

具体来说,我希望能够通过API从用户页面添加或删除标签"应用程序.目前,引导用户完成向其业务(或地方)Facebook页面添加标签应用程序的过程很复杂,如果他们只授予我的应用程序权限并且我可以使用API​​为他们添加应用程序,那就太好了

Specifically, I would like to be able to Add or Remove a "Tab" application from a user's Page via the API. Right now it's complicated to guide a user through the process of adding a tab app to their business (or Place) Facebook Page, and it would be AWESOME if they could just grant my app permission and I could add the app for them with the API.

基本上,我想知道API是否允许真正的页面管理",还是仅发布到页面.

Basically I am wondering if the API allows for true "page management", or just posting to the Page.

任何人都对此有经验吗?

Anyone have any experience with this?

最好的方法是使用"page" GET变量将它们指向"add.php"页面(例如

Is the best I can do pointing them to the "add.php" page with the "page" GET variable (e.g. http://www.facebook.com/add.php?api_key=xxxx&pages=1&page=xxxxxx)? This works OK for ADDING a tab application, but there is nothing at all to help them REMOVE an application from their Page so far as I know.

谢谢!

推荐答案

现在值得一提的是,对于任何查看此问题的人(正在庆祝它的第一个生日!),Facebook早在2011年7月就对其API功能进行了重大升级.现在,您可以通过Open Graph API添加,删除,重命名,重新排序并将选项卡设置为默认选项卡.博客文章在这里:

It is worth noting now, for anyone viewing this question (which is celebrating it's 1st birthday!), that Facebook significantly upgraded their API functionality back in July 2011. You can now Add, Remove, Rename, Reorder and set tabs as Default via the Open Graph API. The blog post is here:

https://developers.facebook.com/blog/post/524/

官方文档在这里:

https://developers.facebook.com/docs/reference/api /page/#tabs

Facebook尚不具备的一种新API方法可用于创建新的标签应用程序或更改标签图标.不过,这是一大步!

What Facebook does NOT have yet is a new API method for creating new tab apps, or for changing the tab icon. This is a big step though!

更新:如果要遵循新的错误跟踪器中的有关在API中创建应用的信息,请按照以下说明进行操作: 查看全文

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