diff options
author | Yannick Bungers | 2021-01-05 17:27:24 +0100 |
---|---|---|
committer | GitHub | 2021-01-05 17:27:24 +0100 |
commit | 73d237165ea8fe411b764e5b5d1a2f51a2e02a0b (patch) | |
tree | 851df47886b64ac3c37ab6b809f300cd0dd99c0a /docs/guides/auth/twitter.md | |
parent | d52d1d255a876fcf937c9df3717f6df9b745ad22 (diff) | |
parent | d39c7deb32044a4a34e9c158f168070181b8ae9f (diff) |
Merge pull request #656 from hedgedoc/docs/move-content
Move docs into subdirectory to make structor work
Diffstat (limited to 'docs/guides/auth/twitter.md')
-rw-r--r-- | docs/guides/auth/twitter.md | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/docs/guides/auth/twitter.md b/docs/guides/auth/twitter.md deleted file mode 100644 index cbb8c865..00000000 --- a/docs/guides/auth/twitter.md +++ /dev/null @@ -1,42 +0,0 @@ -# Authentication guide - Twitter - -*Note:* This guide was written before the renaming. Just replace `HackMD` with `HedgeDoc` in your mind :smile: thanks! - -1. Sign-in or sign-up for a Twitter account - -2. Go to the Twitter Application management page [here](https://apps.twitter.com/) - -3. Click on the **Create New App** button to create a new Twitter app: -  - -4. Fill out the create application form, check the developer agreement box, and click **Create Your Twitter Application** -  - - *Note:* you may have to register your phone number with Twitter to create a Twitter application - - To do this Click your profile icon --> Settings and privacy --> Mobile --> Select Country/region --> Enter phone number --> Click Continue - -5. After you receive confirmation that the Twitter application was created, click **Keys and Access Tokens** -  - -6. Obtain your Twitter Consumer Key and Consumer Secret -  - -7. Add your Consumer Key and Consumer Secret to your `config.json` file or pass them as environment variables: - - `config.json`: - ```javascript - { - "production": { - "twitter": { - "consumerKey": "esTCJFXXXXXXXXXXXXXXXXXXX", - "consumerSecret": "zpCs4tU86pRVXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" - } - } - } - ``` - - - environment variables: - ```sh - CMD_TWITTER_CONSUMERKEY=esTCJFXXXXXXXXXXXXXXXXXXX - CMD_TWITTER_CONSUMERSECRET=zpCs4tU86pRVXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - ``` |