问题
Hi im developing an android app using facebook sdk in this app i want to post some message on multiple facebook friends wall at same time i mean user just select his facebook friends and enter message that he want to post and hit send button .is it possible to do?
回答1:
It is indeed possible.
In order to do that though you'll have to ask the user to grant your app the "publish_stream" permission. Once you have that you can post on his behalf.
To actually make the posts use the request method of the Facebook object or AsyncFacebookRunner object (the later is preferable).
You can also use Batch Requests to make all the posts in one request, I've never tried it from android app, but since it's based on http request (like the entire api) it should be possible, you can for example check out this thread: Android facebook graph batch api.
The only issue is that you'll need to create the UI for the friends selection yourself since there's no dialog in the sdk that handles this kind of functionality.
来源:https://stackoverflow.com/questions/10222533/can-we-post-on-multiple-users-facebook-wall-at-same-time