Skip to content

Commit 2eca354

Browse files
committed
Wrap lines at 80 characters
1 parent d2b516a commit 2eca354

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

README.md

+19-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# fb-group-stats
22

3-
Make process calls the parse deploy tool, so it needs the [parse deploy tool](https://parse.com/apps/quickstart#cloud_code/) to be installed.
3+
Make process calls the parse deploy tool, so it needs the
4+
[parse deploy tool](https://parse.com/apps/quickstart#cloud_code/) to be
5+
installed.
46

57
Run `make build` to compile
68

@@ -11,19 +13,27 @@ Before building, make sure the following environment variables:
1113
- `FBTOKEN` - [facebook access token](https://developers.facebook.com/docs/facebook-login/access-tokens)
1214
- `GROUPID` - [facebook group ID](http://stackoverflow.com/questions/8957340/how-do-i-find-my-facebook-group-id)
1315

14-
After deploying, make sure to set up the `grabFacebookPosts` [background job](http://blog.parse.com/announcements/introducing-background-jobs/) to grab all the posts from your facebook group as frequently as you like.
16+
After deploying, make sure to set up the `grabFacebookPosts`
17+
[background job](http://blog.parse.com/announcements/introducing-background-jobs/)
18+
to grab all the posts from your facebook group as frequently as you like.
1519

1620
## Facebook Access Tokens Expire
1721

18-
Use the [graph API explorer](https://developers.facebook.com/tools/explorer/) to get a temporary access token for testing. This token will expire in one hour.
22+
Use the [graph API explorer](https://developers.facebook.com/tools/explorer/) to
23+
get a temporary access token for testing. This token will expire in one hour.
1924

20-
Once you're ready to make a more permanent access token, [make a facebook app](https://developers.facebook.com/docs/apps/register), set the permissions you need, and click debug on the [app's access token](https://developers.facebook.com/tools/accesstoken/) so you can get to the page that allows you to `Extend Access Token`
25+
Once you're ready to make a more permanent access token,
26+
[make a facebook app](https://developers.facebook.com/docs/apps/register), set
27+
the permissions you need, and click debug on the
28+
[app's access token](https://developers.facebook.com/tools/accesstoken/) so you
29+
can get to the page that allows you to `Extend Access Token`
2130

2231
## Check group activity
2332

2433
#### Easy Range - (Days Back, Days Forward)
2534

26-
Example: If I want to look back to last month, daysBack = 60 and daysForward = 30. If I want to look at this week, daysBack = 7 and daysForward = 7.
35+
Example: If I want to look back to last month, daysBack = 60 and daysForward
36+
= 30. If I want to look at this week, daysBack = 7 and daysForward = 7.
2737

2838
`curl -X POST \
2939
-H "X-Parse-Application-Id: _PARSEAPPID_" \
@@ -34,7 +44,8 @@ Example: If I want to look back to last month, daysBack = 60 and daysForward = 3
3444

3545
#### Exact Range - (Start Date, End Date)
3646

37-
Specify the specific range to get a count. startDate and endDate are both [Javascript Date Objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date).
47+
Specify the specific range to get a count. startDate and endDate are both
48+
[Javascript Date Objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date).
3849

3950
`curl -X POST \
4051
-H "X-Parse-Application-Id: _PARSEAPPID_" \
@@ -43,4 +54,5 @@ Specify the specific range to get a count. startDate and endDate are both [Javas
4354
-d '{"beginDate": _startDate_, "endDate": _endDate_}' \
4455
https://api.parse.com/1/functions/countItemsWithDateRanges`
4556

46-
You can find your _PARSEAPPID_ and _PARSEAPIKEY_ in your Parse dashboard for your App.
57+
You can find your _PARSEAPPID_ and _PARSEAPIKEY_ in your Parse dashboard for
58+
your App.

0 commit comments

Comments
 (0)