How do I know the "Pending Requests" for my facebook app
"How do I know how many users have not accepted my facebook apps."
1) The application informs you after asking (http://developers.facebook.com/docs/requests/) how many IDs (and which) requests were sent. So save the list of ids somewhere in your data store, removing duplicate ids of course.
{
request: 'REQUEST_OBJECT_ID'
to:[array of USER_IDs]
}
2) When someone comes to your application via a request, you get your ID. You are deleting documentation requests, right?
When the user is redirected to your application by clicking the "Accept Request" button, you must delete the request after accepting it. Requests are not automatically deleted once they are clicked, so it is the developer's responsibility to clean them up once they are accepted.
3) So when you remove an accepted ID from your list, you still have a complete list of IDs that your application has not accepted.
Happy coding!
source to share