Post message to facebook wall from android fb sdk always error

The fix is: if (parameters.get(key) instanceof byte[]) { instead of if (parameters.getByteArray(key) != null) { on line 63 of Util.java. And if (params.get(key) instanceof byte[]) { instead of if (params.getByteArray(key) != null) { on line 155 of Util.java. For some strange reason, on Samsung Nexus S (perhaps other devices too) it returns a String, not … Read more

How to post on a friend’s Timeline after the February 2013 migration takes effect?

But is there a way to accomplish this other than by using open graph? Accomplish what exactly? Tagging users/friends in any kind of posts? Only possible for Open Graph stories, or photos. (But be aware, apps are not supposed to tag users in photos if the user is not actually in it, or if it’s … 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

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