Check Facebook Page Owner

We are creating an application that allows place owners to send specific messages to their customers through Android applications. One of the problems is the process of checking the owner of the venue (the database of crowdsourced sites), and we are on the way to finding the best and easiest way to check.

So the task is this:

  • we know the name of the venue and its address
  • we know the identifier of the place on Facebook (link to the facebook page on the site)

Question: is there any FB API that allows us to check whether the user owns a specific FB page or not?

For example, a process would look like this:

  • The site owner is sent to our site
  • the owner of the house is looking for his place.
  • connection site owner connects to FB
  • we check to see if he manages the page associated with this place.
+4
source share
1 answer

When you get manage_pages permission from a user, you can access the list of pages on which they are located admin /<user id>/accounts - this is the only way to check whether the user is the administrator of a particular page if your application does not access them as tab on this page.

In this case, the signed_request sent with the downloads of the tab contains a page element telling you if the current user likes / is the page administrator, as well as the page identifier

+2
source

Source: https://habr.com/ru/post/1438042/


All Articles