本文介绍了如何使用图表API在Facebook粉丝专页上发帖?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发布在我的粉丝页面,但我想做突出显示的帖子。任何建议?



我必须在粉丝专页上一个接一个地给他们着色。有没有办法做到这一点?我也阅读了文档,但没有例子。




I'm posting on my fanpage but i want to do highlight posts. Any suggestions?

I have to star them one by one on the fanpage. Is there any way to do this? I also read the documentation but there is no examples.

http://developers.facebook.com/docs/reference/api/page/#posts

Sample of code:

  $args = array(
      'access_token'  => $page_info['access_token'],
      'message'       => 'MY MESSAGE'
  );

  $post_id = $facebook->api("/MY PAGE ID/feed","post",$args);

Im using PHP SDK 3.1.x.

解决方案

Use:

POST /<post_id>/ with param timeline_visibility = starred

timeline_visibility must be one of the following values: hidden, normal, starred.

Also see https://stackoverflow.com/a/19861323/1784062.

这篇关于如何使用图表API在Facebook粉丝专页上发帖?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 11:20