Validate a Facebook page URL

后端 未结 4 2081
广开言路
广开言路 2020-12-22 02:36

For an application I am developing, we allow users to add a link to their Facebook Page (strictly page, not Profile, not Group, only a Page).

I cannot find anything

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-22 02:52

    you can use the graph api to access the object by id which an either be tha page id or the page name, then you get a json object or an error code ... ex https://graph.facebook.com/cocacola

提交回复
热议问题