I'm using Facebook graph API to post to Users Friends Feed after some action in my App. Now, my code iterates over the friend list and make a POST call with appropriate message and link in each iteration. This makes the processing very slow as it waits till the Post is successful and then proceeds.
friend_list = graph_get("me/friends") for friend in friend_list: res = graph_post(friend['id']+"/feed",message,link)
What is the standard way to do this and how should we optimize it. Is there any way to make these POST Asynchronous?