We want only the Public Profile ID of user's friends. User in our case is the end user who signs up our Android App and we store their access token every time they log in. We current have user's public profile ID and his user access token.
We are creating a timeline for our application and thus we would require public profile id of all user's friends and insert into our MySQL DB so as to keep track of the social circle.
Any other solution to implement timeline is acceptable.
Note: As pointed out in answer, facebook is no longer allowing developers to access user's friends' data.