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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

java - where to store the user credentials in an enterprise application(EAI)? -

openxml - Programmatically format a date in an excel sheet using Office Open Xml SDK -