I'm storing facebook userid's and access tokens. Can i post to a selected user's wall with this information? The following code is found here: http://developers.facebook.com/docs/reference/api/post/ I'm just not sure how to run it with php.
curl -F 'access_token=$accessToken' \
-F 'message=Check out this funny article' \
-F 'link=http://www.example.com/article.html' \
https://graph.facebook.com/$facebookid/feed
I tried the cURL method but I don't know what should be $action_name and $action_link changed to.
I get the access token successfully, so only these 2 parameters are what I need.
Use Facebook SDK. It's much better than handling CURL by yourself.