hubot-fb-debugger
A hubot script that does the Facebook Debugger and show Facebook link stat
Last updated 5 years ago by jiunjiun .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-fb-debugger 
SYNC missed versions from official npm registry.

hubot-fb-debugger

NPM

A hubot script that does the Facebook Debugger and show Facebook link stat

See src/fb-debugger.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-fb-debugger --save

Then add hubot-fb-debugger to your external-scripts.json:

["hubot-fb-debugger"]

Sample Interaction

###Update URL Time Scraped

fb_urldebug|fud <URL>

####Sample

user1>> fb_urldebug http://jiunjiun.logdown.com/
hubot>> https://developers.facebook.com/tools/debug/og/object?q=http://jiunjiun.logdown.com/

###Show Facebook link stat

fb_link_stat|fls <URL>

####Sample

user1>> fb_link_stat http://www.storm.mg/lifestyle/51669
hubot>> http://www.storm.mg/lifestyle/51669
┌────────────────────┬────────────────────────────────────────────────────────────┐
│ name               │ value                                                      │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ url                │ http://www.storm.mg/lifestyle/51669                        │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ normalized_url     │ http://www.storm.mg/lifestyle/51669                        │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ share_count        │ 30                                                         │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ like_count         │ 196                                                        │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ comment_count      │ 5                                                          │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ total_count        │ 231                                                        │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ commentsbox_count  │ 0                                                          │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ comments_fbid      │ 922842614449918                                            │
├────────────────────┼────────────────────────────────────────────────────────────┤
│ click_count        │ 0                                                          │
└────────────────────┴────────────────────────────────────────────────────────────┘

Copyright / License

  • Copyright (c) 2015 jiunjiun (quietmes At gmail.com)
  • Licensed under MIT licenses.

Current Tags

  • 0.0.6                                ...           latest (5 years ago)

6 Versions

  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (2)
Dev Dependencies (8)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |