python – Check facebook object type – Education Career Blog

In my app, I have a form where user should submit a facebook page URL.
How to check that it’s correct?
Presently, I’m just checking that it begins with ‘’
How can I check that it is a page (where you can become a fan) and not a profile, event or whatever?

I’m using the python api and appengine.



You could hit up the graph api with the id and see what you get back.{OBJECTID}

Leave a Comment