Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /display/SPR/Extracting content from Facebook to Mediawiki taken on 2012-04-27. The original wiki at wiki.opf-labs.org is being decommissioned.

Extracting content from Facebook to Mediawiki

Created by Paul Wheatley on Apr 18, 2012 · last edited by Patrick McCann · on Apr 19, 2012 (view history) · 15 versions
Title Extracting content from Facebook to Mediawiki
Detailed description
  • Created new Mediawiki installation (v1.18) for experimentation (https://www.mediawiki.org/wiki/Installation)
  • Created a Facebook application to work with the wiki
  • Installed and configured the Facebook extension for Mediawiki - enabled authentication using Facebook
  • Wrote JavaScript to grab user's own data (including non-public data requiring authentication) using Facebook API and write to their user page in the wiki using the Mediawiki API.
    • Needs to make clearer to user what's happening, and give them control over data posted
    • Currently dumps JSON string of user's Facebook profile - need to present it in a more usable way
  • Proof of concept - can get data from Facebook and update wiki with minimal user action.
  • Would like to develop browser bookmarklet that user could use to transfer photo/album they're currently viewing in Facebook to the wiki.
    JavaScript code (requires Facebook - http://connect.facebook.net/en_US/all.js - and jQuery libraries): 
Solution Champion Patrick McCann
Corresponding Issue(s) Ensuring appropriate interface for data capture or deposit
Tool/code link A link to code on Git hub or a corresponding myExperiment if applicable
Tool Registry Link If possible provide a link to information about any third party tools used. Ideally these should point to entries in the OPF Tool Registry
Evaluation
  • Authenticates to the wiki using Facebook
  • Updates user page with information from Facebook (i.e. the user themselves depositing their own data): proof of concept dump of Facebook user data
  • Wrapper required to check the URL so only edits previously created pages
  • Summary: proof of concept is in place. Requires a bit of tidying
  • Would like to add functionality to enable bookmarking in Facebook which then triggers transfer
  • Issue owner: First step in this approach. Opens the door!