使用 php sdk 更改 facebook 选项卡图标
我创建了一个 Facebook 应用程序,用于在任何 Facebook 页面中添加页面选项卡。
一切工作正常,但我无法更改我添加的选项卡的图标。
我正在使用以下 php sdk 代码
if($facebook->api($tabid, 'POST', array(
'custom_name' => $tabtitle,
'image_url'=>$newname,
'is_non_connection_landing_tab'=>1,
'access_token'=>$mpagetoken
))
请告诉我哪里错了?
I have created a facebook application for addding page tab in any facebook page.
Everything is working fine but i am not able to change the icon the tab i am adding.
I am using following code of php sdk
if($facebook->api($tabid, 'POST', array(
'custom_name' => $tabtitle,
'image_url'=>$newname,
'is_non_connection_landing_tab'=>1,
'access_token'=>$mpagetoken
))
Please tell me where i am wrong in this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
中没有
选项卡。image_url
这样的字段页面实际上选项卡图标是应用程序图标,它是
icon_url
字段application
对象,而某些字段可以通过向https://graph.facebook.com/APP_ID? 发出
这个字段未标记为可编辑:POST
请求来编辑? PROPERTY_1=PROPERTY_VALUEThere is no such field as
image_url
inpage
tabs.Actually tab icon is the application icon which is
icon_url
field ofapplication
object, and while some of fields may be edited by issuingPOST
request tohttps://graph.facebook.com/APP_ID?PROPERTY_1=PROPERTY_VALUE
this field isn't marked as editable: