Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

soclall

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soclall

SoclAll API for Node.js

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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 networks
  • callback_url -- string
  • returns string login url
getUser(token, callback)
  • token -- string
  • callback -- function(err, user)
getFriends(token, callback)
  • token -- string -- token given by SoclAll
  • callback -- 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 IDs
  • title -- string
  • callback -- function(err)

Networks

  • facebook
  • twitter
  • google
  • linkedin
  • live
  • plurk
  • tumblr
  • mailru
  • reddit
  • lastfm
  • vkontakte
  • disqus
  • wordpress
  • foursquare
  • github

Bugs and Issues

If you encounter any bugs or issues, feel free to open an issue at github.

Credits

SandKlock

Keywords

FAQs

Package last updated on 05 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc