Facebook Open Graph issue while posting a message -


i have created story in app using action "check" , object "website". checked page in debugger tool , working fine. problem when trying post using open-graph api, throwing error "an active access token must used query information current user.". below code (php) post on facebook. please me in resolving issue.

$access_token = $user->getaccesstoken(); $facebook->setaccesstoken($access_token); $publishstream = $facebook->api("/me/mylocalsite:interest?story=http://www.test.net/fbpost/test.html&message=test message", 'post');

i doing whole thing in testing enviourment. till app not approved. please suggest doing wrong.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -