2013-04-10 1 views

ответ

1

По состоянию на февраль, вы не можете размещать контент на стене друга, используя API - смотрите здесь: https://developers.facebook.com/roadmap/completed-changes/#february-2013

Удаление возможность размещать на друзей стен через Graph API Мы удалим возможность размещать к стенам друзей пользователя через Graph API. В частности, сообщения против [user_id]/feed, где [user_id] - , отличные от пользователя сеанса, или потоковые вызовы, в которых пользователь target_id отличается от пользователя сеанса, завершится с ошибкой.

Вы можете публиковать ссылки, используя функцию FB.ui с параметром 'to', установленным для идентификатора друга.

0

Смотрите следующие изменения от 6 марта 2013 года, размещенный в списке завершенных изменений в дорожной карте в Facebook Developers':

Removing ability to post to friends walls via Graph API 
We will remove the ability to post to a user's friends' walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail. 
If you want to allow people to post to their friends' timelines, invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag). For more info, see this blog post.