Skip to content

Commit 2bbe1b7

Browse files
committed
Rebranding to Graph API Webhooks
1 parent c4d1eb7 commit 2bbe1b7

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to `real-time-updates-samples`
1+
# Contributing to `graph-api-webhooks-samples`
22
We want to make contributing to this project as easy and transparent as
33
possible.
44

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Real Time Updates Samples
1+
# Graph API Webhooks Samples
22

3-
These are sample clients for [Facebook's Real Time Updates API](https://developers.facebook.com//graph-…/real-time-updates/) 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 Real-time Photo Updates API](https://instagram.com/developer/realtime/).
44

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

heroku/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Real Time Updates Heroku Sample
1+
# Graph API Webhooks Heroku Sample
22

3-
This example is a [Hubot](https://hubot.github.com/) script that messages a chat room when a Facebook Page post is published using Facebook's [Real Time Updates API](https://developers.facebook.com/docs/graph-api/real-time-updates/). The message includes a link to the Facebook post. The bot will post another message with the number of likes on the post after a configurable number of minutes.
3+
This example is a [Hubot](https://hubot.github.com/) script that messages a chat room when a Facebook Page post is published using Facebook's [Graph API Webhooks](https://developers.facebook.com/docs/graph-api/webhooks/). The message includes a link to the Facebook post. The bot will post another message with the number of likes on the post after a configurable number of minutes.
44

55
These instructions assume you have already set up [Hubot on Heroku](https://hubot.github.com/docs/deploying/heroku/).
66

77
## Setup
88

9-
1. Download `real-time-updates.coffee`.
10-
1. Add a line to `hubot-scripts.json` with `real-time-updates`.
9+
1. Download `graph-api-webhooks.coffee`.
10+
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 [Real Time Updates subscription](https://developers.facebook.com/docs/graph-api/real-time-updates/#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.
13-
1. Set the Heroku configuration values defined at the top of `real-time-updates.coffee` before deploying.
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.
13+
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
1616
- `WAIT_MINUTES` - number of minutes to wait before retrieving the number of likes on the post

heroku/real-time-updates.coffee renamed to heroku/graph-api-webhooks.coffee

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
# This source code is licensed under the license found in the
66
# LICENSE file in the root directory of this source tree.
77
#
8-
# Real Time Updates router for Facebook and Instagram.
8+
# Router for Facebook's Graph API Webhooks and Instagram's Real-time Photo Updates.
99
#
1010
# Configuration:
1111
# FACEBOOK_APP_ACCESS_TOKEN
1212
# REAL_TIME_ROOM
1313
# WAIT_MINUTES
1414
#
1515
# Notes:
16-
# Set up your Real-Time updates as descried here: https://developers.facebook.com/docs/graph-api/real-time-updates/
16+
# Set up your updates as descried here: https://developers.facebook.com/docs/graph-api/webhooks/
1717
# And here: https://instagram.com/developer/realtime/
1818
#
1919
# The `verify_token` is "token".

parse/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Real Time Updates Parse Sample
1+
# Graph API Webhooks Parse Sample
22

3-
This is a sample client for [Facebook's Real Time Updates API](https://developers.facebook.com/docs/graph-api/real-time-updates/) 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).
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).
44

55
## Setup
66

@@ -16,7 +16,7 @@ This is a sample client for [Facebook's Real Time Updates API](https://developer
1616

1717
### Facebook
1818
1. Create a new [Facebook application](https://developers.facebook.com/apps).
19-
1. Set up your Facebook application's [Real Time Updates subscription](https://developers.facebook.com/docs/graph-api/real-time-updates/#setup) using `https://<your-subdomain>.parseapp.com/facebook` as the callback URL and `token` as the verify_token.
19+
1. Set up your Facebook application's [Graph API Webhooks subscription](https://developers.facebook.com/docs/graph-api/webhooks/#setup) using `https://<your-subdomain>.parseapp.com/facebook` as the callback URL and `token` as the verify_token.
2020

2121
### Instagram
2222
1. Register an [Instagram API client](https://instagram.com/developer/clients/manage/).

0 commit comments

Comments
 (0)