How to post on Facebook with Android using the latest SDK
- by user645402
All the samples I have seen so far seem to be using an earlier version of the SDK and the parameters and calls don't match. Using the latest SDK, I'm trying this:
String access_token = facebook.getAccessToken();
Bundle bundle = new Bundle();
bundle.putString("access_token", access_token);
bundle.putString("app_id", FACEBOOK_APP_ID);
bundle.putString("message", "My First Post");
bundle.putString("description", "My First Description");
asyncrunner.request("me/feed", bundle, new RequestListener() {
And i get back a call to onComplete() with response = "{"data":[]}.
And nothing ever gets posted to my wall on FB. Perhaps I'm not waiting long enough? How long should I need to wait before it shows up?