curl -X GET \ -H "QB-Token: a1e6b25b27ab3771a391b5c1173b572aed012bba" \ https://api.quickblox.com/users/by_facebook_id.json?facebook_id=888766
{ "user": { "id": 96754523, "full_name": "Alex Miller", "email": "[email protected]", "login": "Alex", "phone": "+3123555", "website": "https://mysite.com", "created_at": "2019-08-27T21:08:55Z", "updated_at": "2019-08-27T21:08:55Z", "last_request_at": null, "external_user_id": 126672, "facebook_id": "888766", "twitter_id": "982366", "blob_id": null, "custom_data": null, "age_over16": true, "allow_statistics_analysis": true, "allow_sales_activities": true, "parents_contacts": "", "user_tags": "android,web" } }
Search a user by Facebook identifier.
Get user by facebook id with API key
1. Use 'Authorization' header to pass API key
curl -X GET \ -H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \ https://api.quickblox.com/users/by_facebook_id.json?facebook_id=888766
2. As a result, the API returns a user with the specified facebook id in the path params.
ApiKey {your_api_key}
200
Show properties
401
403
404
Was this page helpful?