Skip to content

Commit

Permalink
Merge pull request #17 from liorrozen/update-api-to-2.10
Browse files Browse the repository at this point in the history
Use version 2.10 of the facebook API
  • Loading branch information
liorrozen authored Aug 8, 2017
2 parents ff499d3 + d5095f9 commit b99e38f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# facebook-insight-stream
FacebookInsightStream provide stream API, built over node-readable-stream, to read facebook insights
using the facebook Graph API V2.8.
using the facebook Graph API V2.10.
Currently facebook insights api return data per metric, this module joins all the list
to one list by the insight date.

Currently support the following insights:

* [pages-insights]( https://developers.facebook.com/docs/graph-api/reference/page/insights/ )
* [app-insights](https://developers.facebook.com/docs/graph-api/reference/v2.5/insights/)
* [pages-insights]( https://developers.facebook.com/docs/graph-api/reference/v2.10/page/insights/ )
* [app-insights](https://developers.facebook.com/docs/graph-api/reference/v2.10/insights/)
* [audience-network](https://developers.facebook.com/docs/audience-network/reporting-api)

### Usage
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var Promise = require( "bluebird" );

request = Promise.promisifyAll( request )

var BASEURL = "https://graph.facebook.com/v2.8";
var BASEURL = "https://graph.facebook.com/v2.10";
// Missing data is flagged by the error code 100
// GraphMethodException error:
// Object with ID 'some_id' does not exist,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "facebook-insight-stream",
"version": "1.0.8",
"version": "1.0.9",
"description": "Readable stream for reading facebook insights",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b99e38f

Please sign in to comment.