Creating Facebook Page programmatically through Open Graph API

混江龙づ霸主 提交于 2019-11-27 08:47:56
Nimisha

As per this thread, there's no way to create pages programmatically

Link to the thread

You can do this programatically but it's kind of a hack. If you include the Facebook Comments plugin it will autocreate the page for you. So if you make a general webpage that takes parameters like movieID, you can make a script that does a HTTP GET for every ID that you have available and all the 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>
Madison Squaregarden

According to the docs you can curl the url linter with your url. However, this is very slow. C.f. the following link.

The technique mentioned in another post on this page (of GETting a page with a Comments Plugin on it) probably wont work unless your getter is actually a browser than will run javascript :-) I have tried this with a Like button on a page I want scraped, and no dice, an admin on that page actually has to click Like for it to get scraped.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!