I have an iOS app in which users are rewarded for inviting their Facebook friends through the Request dialog, and after the invitation is sent I parse the Response Data to save the recipients users IDs in the database for verification purposes.
Recently I started noticing that some invalid user IDs are being returned by the Request dialog, for instance, in this response data:
Printing description of urlParams:
{
request = 311467829003384;
"to[0]" = 300265810135854;
"to[1]" = 641443489259412;
}
I'm led to believe these user IDs are invalid because if I try to open the following url I get an error:
By the way, I'm using Facebook iOS SDK 3.14.1. Any thoughts?
They are both valid. They are App Scoped User IDs that we started return in v2.0. You can read more about it on https://developers.facebook.com/docs/apps/changelog. If you want to link to the person do an API request to /{app_scoped_user_id} and use the link property on the response.