【发布时间】:2013-04-07 02:43:46
【问题描述】:
我正在阅读 Facebook 的新 api (opengraph) 已更改,我正在尝试发布一些内容并在其上标记几个朋友...根据此 https://developers.facebook.com/docs/reference/api/user/#posts 我应该在“标签”部分指定 ID但只是不起作用,我看过一些参考资料,但很旧......
问题是它确实张贴在墙上,但没有标记或显示该地点。
我正在为此使用 php。
有人做过吗?
这是我的代码
$post = array('message' => 'my message ',
'name' => 'name',
'caption' => "something",
'link' => 'my page',
'description' =>"some desc",
'place' => '323816477724410',<--- id of a city
'tags' => 'xxxxxx', <---- facebook id
);
$result = $facebook->api("/".$user."/feed/", 'post', $post);
【问题讨论】:
标签: php facebook facebook-opengraph