social-data
Introduction:
Get meta-data for a URL from the most popular social networks
.facebook(url, callback)
Get social sharing data from Facebook
Arguments
url
- The URL you want data for.callback(err, result)
- Callback to be called with the resulting data or an error.
Example
var http = ; var socialData = agent: // optional agent/pool; var url = 'http://www.vg.no/' socialData
.twitter(url, callback) (deprecated)
NOTE: Twitter no longer supplies this functionality (sadly..)
.linkedin(url, callback)
Get social sharing data from LinkedIn
Arguments
url
- The URL you want data for.callback(err, result)
- Callback to be called with the resulting data or an error.
Example
var http = ; var socialData = agent: // optional agent/pool; var url = 'http://www.vg.no/' socialData