I am developing a website in PHP that need Facebook integration . That is an e-commerce website . What I want to do is after I create a product, I want to share that product on my Facebook fan page of my website. If I want to do it, I need two permission - manage_pages and publish_pages.
I am testing it using test app on real server (not localhost). Now my issue is that I can login to Facebook with proper permissions that I need successfully. But in the step of share the post. Facebook is responding following error
stdClass Object ( [error] => stdClass Object ( [message] => (#200) Permissions error [type] => OAuthException [code] => 200 ) )
Can we share on Facebook fan page with test app or when the app is in test mode?