Simple example to post to a Facebook fan page via PHP?

Finally, after a lot of tests, it worked, without the PHP SDK. This is the step by step guide: 1. Get permissions and the page token Go to https://developers.facebook.com/tools/explorer/ and select your app from the first drop down menu, in the left. Click on the button “Get access token”, and in the “Select Permissions” window, … Read more

How do you post to the wall on a facebook page (not profile)

Get PHP SDK from github and run the following code: <?php $attachment = array( ‘message’ => ‘this is my message’, ‘name’ => ‘This is my demo Facebook application!’, ‘caption’ => “Caption of the Post”, ‘link’ => ‘http://mylink.com’, ‘description’ => ‘this is a description’, ‘picture’ => ‘http://mysite.com/pic.gif’, ‘actions’ => array( array( ‘name’ => ‘Get Search’, ‘link’ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)