Twitist Forums
How do you create a Facebook page and use wikipedia info? - Printable Version

+- Twitist Forums (http://twitist.com)
+-- Forum: Facebook forums (/forum-14.html)
+--- Forum: Facebook Pages (/forum-13.html)
+--- Thread: How do you create a Facebook page and use wikipedia info? (/thread-104959.html)



How do you create a Facebook page and use wikipedia info? - Alex W - 02-25-2014 12:54 AM

hey, i'm trying to create a page on Facebook and populate the info field from the info provided on wikipedia. I read that FB community pages allow you to use wikipedia's info about the topic. I see so many FB pages out there that do this, but dont know how its done. Here are some examples of what i mean:

http://www.facebook.com/pages/Hiking/105525412814559
http://www.facebook.com/pages/Denise-Richards/108041679223979
http://www.facebook.com/pages/Judo/113142305367205
is there any easier way? That seems pretty difficult parcing the data, etc. Isnt there like a plugin or something that facebook has? There has to be an easier way.


- Fabian Smith - 02-25-2014 01:02 AM

You'll want to use Wikipedia's API. The API is available at the following URL, which by default provides the documentation for the API:

< http://en.wikipedia.org/w/api.php >

Off the top of my head, I guess you'd want to use the action=parse option and select particular pages as needed…

Remember that you may also need to pull the style sheet at "MediaWiki:Common.css" for certain things to look right.

Also, remember to make efficient use of queries to Wikipedia: excessive querying, or pulling data live, might cause your website to be blocked access by the server admins. I suggest that pages should be cached for at least 24 hours, and Common.css (if used) be cached for at least two weeks (by default, users' computers are directed to cache that for 30 days). You might want to check about this on the mailing list, too (see below).

Further questions are probably best directed to the mailing list indicated on the API documentation page: < https://lists.wikimedia.org/mailman/list… >.


- Rom Cartridge - 02-25-2014 01:04 AM

This guide will explain you how to create a page on Facebook:

http://romcartridge.blogspot.com/2010/01/how-to-create-fan-page-on-facebook.html

Good luck!