Merge pull request #2211 from skid9000/patch-2
Update doc for twitter integration.
This commit is contained in:
		
						commit
						cf9f2a5562
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -123,6 +123,7 @@ drive:
 | 
				
			||||||
# google_maps_api_key: example-google-maps-api-key
 | 
					# google_maps_api_key: example-google-maps-api-key
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Twitter integration
 | 
					# Twitter integration
 | 
				
			||||||
 | 
					# You need to set the oauth callback url as : https://<your-misskey-instance>/api/tw/cb
 | 
				
			||||||
# twitter:
 | 
					# twitter:
 | 
				
			||||||
#   consumer_key: example-twitter-consumer-key
 | 
					#   consumer_key: example-twitter-consumer-key
 | 
				
			||||||
#   consumer_secret: example-twitter-consumer-secret-key
 | 
					#   consumer_secret: example-twitter-consumer-secret-key
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,6 +62,13 @@ npm install web-push -g
 | 
				
			||||||
web-push generate-vapid-keys
 | 
					web-push generate-vapid-keys
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					*(optional)* Create a twitter application
 | 
				
			||||||
 | 
					----------------------------------------------------------------
 | 
				
			||||||
 | 
					If you want to enable the twitter integration, you need to create a twitter app at [apps.twitter.com](https://apps.twitter.com/).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					In the app you need to set the oauth callback url as : https://misskey-instance/api/tw/cb
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*5.* Make configuration file
 | 
					*5.* Make configuration file
 | 
				
			||||||
----------------------------------------------------------------
 | 
					----------------------------------------------------------------
 | 
				
			||||||
1. `cp .config/example.yml .config/default.yml` Copy the `.config/example.yml` and rename it to `default.yml`.
 | 
					1. `cp .config/example.yml .config/default.yml` Copy the `.config/example.yml` and rename it to `default.yml`.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue