Add support for facebook API

Still lacks a mechanism to fetch "extended tokens", so for now, it's somehow useless
master
pictuga 2013-10-21 21:29:23 +02:00
parent 1f40f2a099
commit 6bf7f60a3b
1 changed files with 27 additions and 0 deletions

View File

@ -22,3 +22,30 @@ items= //li[class=g]
item_title= .//h3//text() item_title= .//h3//text()
item_link= .//a/@href item_link= .//a/@href
item_content= .//span[class=st] item_content= .//span[class=st]
[facebook home]
mode=json
path=
https://graph.facebook.com/*/home*
https://graph.facebook.com/*/feed*
title= "Facebook"
items= data
item_title= from.name {" > " to.data.name<", ">}
item_link= actions.link[0]
item_content= message story{"<br/><br/><a href='" link "'><img src='" picture "' /></a>"}{"<blockquote><a href='" link "'>" name "</a><br/>" description "</blockquote>"}{"<br/><br/> @ " place.name}
item_time= created_time
[facebook message/post]
mode=json
path=
https://graph.facebook.com/*
https://graph.facebook.com/*
title= "Facebook"
items= comments.data
item_title= from.name
item_content= message
item_time= created_time