README
SoclAll
SoclAll API library for Node.js
Installation
npm install soclall
Go to SoclAll and register an application for free.
Usage
var SoclAll = require('soclall')
, s = new SoclAll(app_id, secret_key);
console.log(s.getLoginUrl('facebook', 'http://yourdomain.com/callback'));
API
getLoginUrl(network, callback_url)
network
--string
-- see networkscallback_url
--string
- returns
string
login url
getUser(token, callback)
token
--string
callback
--function(err, user)
getFriends(token, callback)
token
--string
-- token given by SoclAllcallback
--function(err, friends)
postStream(token, message, callback)
token
--string
message
--string
callback
--function(err)
sendMessage(token, message, friends, title, callback)
token
--string
message
--string
friends
--array
-- list of friend's IDstitle
--string
callback
--function(err)
Networks
- live
- plurk
- tumblr
- mailru
- lastfm
- vkontakte
- disqus
- wordpress
- foursquare
- github
Bugs and Issues
If you encounter any bugs or issues, feel free to open an issue at github.