This is an initial development release.
Parameters:
- campaign (optional)
- cb (optional, e.g., callback_name)
- date_end (required, e.g., 2013-11-01)
- date_start (required, e.g., 2013-09-01
- goal (required, e.g., 2000)
- multiplier (optional, e.g., 12 or 3 (months))
Parameters:
- date_start (optional, e.g., 2015-03-01)
Parameters:
- limit (Optional, e.g., 20. Default: 10)
- days (Optional, e.g., 15. Default: 7)
Parameters:
- url (Required, e.g,. http://thetyee.ca/Opinion/2013/12/05/Whos-Watching-Our-Money/)
Returns:
- JSON object with shares for Facebook, Twitter, and E-mail
- The
total
property contains a sum of all shares for that URL across services
E-mail shares (via The Tyee's bespoke article e-mail tool).
- url (Required, e.g,. http://thetyee.ca/Opinion/2013/12/05/Whos-Watching-Our-Money/ or any part thereof to match against)
Facebook shares (via the Facebook Object Graph API using an App Access Token).
- url (Required, e.g,. http://thetyee.ca/Opinion/2013/12/05/Whos-Watching-Our-Money/)
Twitter shares (via the NewShareCounts API). Will eventually be replaced with in-house data.
- url (Required, e.g,. http://thetyee.ca/Opinion/2013/12/05/Whos-Watching-Our-Money/)