facebook graph api webhook friend not working
<p>I am trying to keep track of my users' facebook friends. I thought that using the webhook is the best solution to this problem.</p>

<p>The webhook is currently working, the request I get from facebook is a json of 2 objects (users), who added each other as friends, so I am able to update them in the database.</p>

<p>For some reason I sometimes get an object of only one user, and I get the other friend in a seperate object. There is no way for me to relate the 2 requests together.</p>

<p>I have read through the whole document but it didn't help <a href="https://developers.facebook.com/docs/graph-api/webhooks/v2.5" rel="nofollow">https://developers.facebook.com/docs/graph-api/webhooks/v2.5</a></p>

<p>Is there something that I am doing wrong, or is just using the webhooks for this task is not the right solution? If it's not the solution, should I scrape all my user's facebook friends periodically?</p>