php - Auto post stream (feed) to app users -
how can post stream ($facebook->api('/me/feed', 'post', $attachment);) app users on anytime. think can access token via $facebook->getaccesstoken(); after, how can post wall?
grant publish_stream permission , use user id after instead of me:
$facebook->api("/$user_id/feed", 'post', $attachment); for more information, check last edit (edit 4) on answer (also follow discussion on other answer linked there).
Comments
Post a Comment