Home Differentiate between Facebook user and event ID
Reply: 1

Differentiate between Facebook user and event ID

János Published in 2018-01-11 17:11:35Z

How can I detect programmatically wether a Facebook ID user over event ID is? Are there any intervals where ID come from? I.e. 10211282278486891 is my user ID, and 1774156412659580 is an event ID. Looking for a fast way, without any web service call.

luschn Reply to 2018-01-12 09:39:17Z

Search for fields specific for the user - for example, there is no "first_name" field in an event and you do not need extra permission to get that field.


Another solution that is probably better:


With that API call, you get a "type" field that tells you if it´s a user profile or event.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.339498 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO