I am developing a Facebook application where the user can invite their friends and gain points once their request gets accepted. I have used the latest request dialog to cater to my needs, but I have run into a problem.
The scenario is that suppose there are four users A, B, C and D.
A, B, C send the application invitation request to D. But, when D receives the request, he receives all of the request_ids in the query string (that is, by A, B and C).
The other problem is that the request notification is merged, that is, I get the notification like “A, B and C have sent you the request to join the application”. How do I make the request to be separate for each user, so I can track whose request got accepted?
You can’t do anything with this behavior of Requests, all requests to the same users will be grouped and separation of requests isn’t something Facebook provide…
Update:
You may consider separation of requests within your application.
In new flow requests not deleted automatically and you need to remove ’em, so it should be pretty easy to display those requests in your application allowing user to trigger some action and only then remove that request. There is no problem to check if user have pending requests via Graph API.
You should be aware of fact that once user clicked request notification on Facebook, notification will disappear and number of requests will only be visible in application “bookmark”.