Skip to content

Commit 5830cea

Browse files
committed
Update links to Instagram documentation
1 parent 519875c commit 5830cea

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Graph API Webhooks Samples
22

3-
These are sample clients for [Facebook's Graph API Webhooks](https://developers.facebook.com/docs/graph-api/webhooks/) and [Instagram's Real-time Photo Updates API](https://instagram.com/developer/realtime/).
3+
These are sample clients for [Facebook's Graph API Webhooks](https://developers.facebook.com/docs/graph-api/webhooks/) and [Instagram's Subscriptions API](https://www.instagram.com/developer/subscriptions/).
44

55
1. [Parse](parse)
66
1. [Heroku](heroku)

heroku/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Graph API Webhooks Heroku Sample
22

3-
This is a sample client for [Facebook's Graph API Webhooks](https://developers.facebook.com/docs/graph-api/webhooks/) and [Instagram's Real-time Photo Updates API](https://instagram.com/developer/realtime/), powered by [Node.js on Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs).
3+
This is a sample client for [Facebook's Graph API Webhooks](https://developers.facebook.com/docs/graph-api/webhooks/) and [Instagram's Subscriptions API](https://www.instagram.com/developer/subscriptions/), powered by [Node.js on Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs).
44

55
## Setup
66

@@ -15,4 +15,4 @@ This is a sample client for [Facebook's Graph API Webhooks](https://developers.f
1515

1616
### Instagram
1717
1. Register an [Instagram API client](https://instagram.com/developer/clients/manage/).
18-
1. Set up your client's [Real-time Photo Updates subscription](https://instagram.com/developer/realtime/) using your `https://<your-subdomain>.herokuapp.com/instagram` as the callback URL and `token` as the verify_token.
18+
1. Set up your client's [subscription](https://www.instagram.com/developer/subscriptions/) using your `https://<your-subdomain>.herokuapp.com/instagram` as the callback URL and `token` as the verify_token.

hubot/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ These instructions assume you have already set up [Hubot on Heroku](https://hubo
99
1. Download `graph-api-webhooks.coffee`.
1010
1. Add a line to `hubot-scripts.json` with `graph-api-webhooks`.
1111
1. Create a new [Facebook application](https://developers.facebook.com/apps) and/or register an [Instagram API client](https://instagram.com/developer/clients/manage/).
12-
1. Using `token` as the verify_token, set up your Facebook application's [Graph API Webhooks subscription](https://developers.facebook.com/docs/graph-api/webhooks/#setup) using `https://<your-subdomain>.herokuapp.com/facebook` as the callback URL, and/or your Instagram client's [Real-time Photo Updates subscription](https://instagram.com/developer/realtime/) using your `https://<your-subdomain>.herokuapp.com/instagram` as the callback URL.
12+
1. Using `token` as the verify_token, set up your Facebook application's [Graph API Webhooks subscription](https://developers.facebook.com/docs/graph-api/webhooks/#setup) using `https://<your-subdomain>.herokuapp.com/facebook` as the callback URL, and/or your Instagram client's [subscription](https://www.instagram.com/developer/subscriptions/) using your `https://<your-subdomain>.herokuapp.com/instagram` as the callback URL.
1313
1. Set the Heroku configuration values defined at the top of `graph-api-webhooks.coffee` before deploying.
1414
- `FACEBOOK_APP_ACCESS_TOKEN` - [access token](https://developers.facebook.com/docs/facebook-login/access-tokens#apptokens) for your Facebook app
1515
- `REAL_TIME_ROOM` - chat room for Hubot to post in

hubot/graph-api-webhooks.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
# Notes:
1616
# Set up your updates as descried here: https://developers.facebook.com/docs/graph-api/webhooks/
17-
# And here: https://instagram.com/developer/realtime/
17+
# And here: https://www.instagram.com/developer/subscriptions/
1818
#
1919
# The `verify_token` is "token".
2020
#

parse/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Graph API Webhooks Parse Sample
22

3-
This is a sample client for [Facebook's Graph API Webhooks](https://developers.facebook.com/docs/graph-api/webhooks/) and [Instagram's Real-time Photo Updates API](https://instagram.com/developer/realtime/), powered by [Parse Cloud Code](https://parse.com/docs/js/guide#cloud-code).
4-
3+
This is a sample client for [Facebook's Graph API Webhooks](https://developers.facebook.com/docs/graph-api/webhooks/) and [Instagram's Subscriptions API](https://www.instagram.com/developer/subscriptions/), powered by [Parse Cloud Code](https://parse.com/docs/js/guide#cloud-code).
54
## Setup
65

76
### Parse
@@ -20,6 +19,6 @@ This is a sample client for [Facebook's Graph API Webhooks](https://developers.f
2019

2120
### Instagram
2221
1. Register an [Instagram API client](https://instagram.com/developer/clients/manage/).
23-
1. Set up your client's [Real-time Photo Updates subscription](https://instagram.com/developer/realtime/) using your `https://<your-subdomain>.parseapp.com/instagram` as the callback URL and `token` as the verify_token.
22+
1. Set up your client's [subscription](https://www.instagram.com/developer/subscriptions/) using your `https://<your-subdomain>.parseapp.com/instagram` as the callback URL and `token` as the verify_token.
2423

2524
Read more about using Parse objects to save your Facebook data in the [Parse JavaScript Guide](https://parse.com/docs/js/guide).

0 commit comments

Comments
 (0)