Create a Facebook page programmatically through the Open Graph API

I hope there is a way to create a facebook page using an open graphics API. The documentation only shows the API calls that I can make as soon as the page exists.

I currently have movie profiles on my site that I would like to create a page for everyone on Facebook. I know that I can just add the โ€œLikeโ€ button and once click, it will create a page for me. But I hope to have a software way to do the same.

+2
source share
3 answers

In accordance with this thread, it is not possible to create pages programmatically

Stream link

+1
source

You can do it programmatically, but it's a kind of hack. If you enable the Facebook Comments plugin, it will automatically create a page for you. Therefore, if you create a shared web page that accepts parameters such as movieID, you can make a script that executes an HTTP GET for each identifier you have, and all graph objects will be created.

Like this:

<fb:comments href="www.mypage.com?id=<%=request.getParameter("movieid")%>" num_posts="35" width="340" colorscheme="light"></fb:comments> 
+4
source

According to the docs, you can twist the url of your url. However, it is very slow. CF next link .

The technique mentioned in another post on this page (from a GETting page with a comment plugin on it) will probably not work if your getter is actually not a browser than javascript launches :-) I tried this using the Like button of the page that I want to scrap, and no dice, the administrator on this page actually needs to click "How" to get a scratch.

+4
source

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


All Articles