In my application, I have a requirement of posting image and message to wall of multiple friends.
I have seen stackoverflow posts regarding this issue.I found that there
you can use the following code to create delay between successive requests.
int count = 10;
new Timer().schedule(new TimerTask() {
@Override
public void run() {
if (count>=10) {
this.cancel();
}
MainActivity.this.runOnUiThread(new Runnable() {
public void run() {
//Do the facebook request.
}
});
}
}, 1000 , 1000);