I am trying to use facebook graph api on my blog so that users leave comments and view comments on the article being viewed, I looked at the api graphic page there, and I always get the error "unauthorized mail request"
I have a publish_stream and status_update request, when users accept my application through fbconnect, I use the same code as below to post a comment:
facebook -> api('/http://www.mysite.com/blog/article-title-here/likes',
'post',
array(
'id' => 'http://www.mysite.com/blog/article-title-here',
'message' => 'users comment',
'created_time' => PHP_DATE_FUNCTION
)
);
source
share