Skip to content
This repository was archived by the owner on Sep 9, 2021. It is now read-only.

Commit 07bd777

Browse files
committed
fixing typos.
1 parent e4bda62 commit 07bd777

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

README.md

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Caesar Bot
22

33
This is a Facebook chat bot template project with minimal functionality.
4-
It translates roman numbers into arabic ones. Oh - and it is talking
4+
It translates Roman numbers into Arabic ones. Oh - and it is talking
55
German only. This repository is meant to be a companion to an article
66
published in [t3n magazin](http://t3n.de/magazin/) (Nr. 45, 2016) but
7-
you are free to use it anyhow you like.
7+
you are free to use it you like.
88

99
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000?style=flat-square)](LICENSE.txt)
1010

@@ -18,80 +18,80 @@ You should know [git](https://git-scm.com/ "Git Homepage") and
1818
To create your own version of this bot just:
1919

2020
1. Clone or copy this repository
21-
21+
2222
```bash
2323
git clone https://github.com/smartsteuer/caesar-bot.git name-of-your-bot
2424
```
2525

26-
2. Change into the new directory
27-
26+
2. Change to the new directory
27+
2828
```bash
2929
cd name-of-your-bot
3030
```
3131

3232
3. Install the dependencies
33-
33+
3434
```bash
3535
npm install
3636
```
3737

38-
4. Test if everythink worked out.
39-
38+
4. Test if everything works.
39+
4040
```bash
4141
npm test
4242
```
4343

4444
## Customize
4545

4646
At this point you are free to optimize, extend and change this bot as
47-
you like. What ever you are intending to do in the future, the first
48-
think to do is to change the verify token with which Facebook is going
49-
to check your webhook.
47+
you like. What ever you are intending to do in the future - the first
48+
thing to do is to change the verify token Facebook is going to check
49+
your webhook with.
5050

5151
1. Open `webhook-get.spec.js` and change the
5252
(token)[app/fb/webhook-get.spec.js#L14] to a freely selectable value.
53-
(your are going to share this value with facebook later on)
53+
(You are going to share this value with Facebook later on)
5454
2. Run `npm test` again
5555
3. Fix all broken tests
5656

57-
You'r good to go public!
57+
You are good to go public!
5858

5959
## Deployment
6060

61-
Your bot is running locally - good. But we want the world to see it… (We
62-
are going to deploy on heroku but you are free to take any provider you
63-
like)
61+
Your bot is running locally - good. But we want the world to see it… (In
62+
this example we are going to deploy on heroku but you are free to choose
63+
any provider you like)
6464

6565
1. Be familiar with
6666
[Heroku](https://www.heroku.com/home "Heroku homepage") and install
6767
their toolbelt.
6868
2. Login (if you haven't done this already)
69-
69+
7070
```bash
7171
heroku login
7272
```
7373
7474
3. Create a new Heroku app
75-
75+
7676
```bash
7777
heroku create
7878
```
7979
8080
4. Deploy (a.k.a. push to the heroku git) the app.
81-
81+
8282
```bash
8383
git push heroku master
8484
```
8585
86-
More information on node on heroku can be found here:
86+
More information on Node on Heroku can be found here:
8787
[getting started](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
8888
8989
## Register your app with Facebook
9090
91-
I won't go into detail here. But with your app running on Heroku you now
92-
have a URL which you can feed into the FB registration process for new
93-
messenger apps. It's general structure is straitforward and looks like
94-
this:
91+
I will not go into detail here, but with your app running on Heroku you
92+
now have a URL which you can feed into the FB registration process for
93+
new messenger apps. It's general structure is straightforward and looks
94+
like this:
9595

9696
```
9797
https://name-of-your-bot.herokuapp.com/fb
@@ -101,19 +101,19 @@ This is the webhook Facebook is going to communicate with.
101101

102102
## Configuration
103103

104-
For your app to work you need to set the access token which was
104+
For your app to work you need to set the access token which has been
105105
generated by Facebook during the registration process.
106106

107107
1. Open the Heroku dashboard https://dashboard.heroku.com/apps
108108
2. Find and open your app
109109
3. Change to `Settings`
110-
4. Reveal your config vars
110+
4. 'Reveal' your config vars
111111
5. Add a new var with the key set to `FB_ACCESS_TOKEN` and the value to
112112
the token you got from Facebook.
113113

114114
# Feedback
115115

116-
If you have anythink in mind concerning this repro or the article, let
116+
If you have anything in mind concerning this repo or the article, let
117117
us know! Use the issue tracker or contact us on twitter. Björn
118118
[@waide](https://twitter.com/waide), Eike
119119
[@stagzta](https://twitter.com/stagzta)

0 commit comments

Comments
 (0)