Siten
Siten

Reputation: 4533

I want to post a string msg on facebook's wall

I have my appId for facebook. Which type of configuration and auth should I require.

Now I want to post a String message on Facebook wall when some condition true. What should I do?

Upvotes: 0

Views: 508

Answers (3)

Chirag
Chirag

Reputation: 56935

Please go through below link . It might helps you a lot.

Facebook android sdk

you can also send message directly using the below code.

Bundle params = new Bundle();
params.putString("message", message);
mFacebook.request("me/feed", params, "POST");

you can create facebook object and using request method you can directly post to user wall. Before posting on wall you must have to login into facebook .

Upvotes: 0

Arslan Anwar
Arslan Anwar

Reputation: 18746

Checkout Facebook SDK for android

https://github.com/facebook/facebook-android-sdk

also Facebook Android Tutorial It will help you.

https://developers.facebook.com/docs/mobile/android/build/

Upvotes: 0

Yashwanth Kumar
Yashwanth Kumar

Reputation: 29141

I am just giving you the first link i found on the search , take a look it, it has all the things you require...

http://blog.doityourselfandroid.com/2011/02/28/30-minute-guide-integrating-facebook-android-application/

Upvotes: 1

Related Questions