mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-23 13:31:05 -05:00
Attempting to fix markdown
This commit is contained in:
@@ -36,6 +36,7 @@ token](https://dev.twitter.com/docs/auth/application-only-auth):
|
|||||||
1. Under OAuth settings, make a note of the **Consumer key** and **Consumer secret**
|
1. Under OAuth settings, make a note of the **Consumer key** and **Consumer secret**
|
||||||
1. Now retrieve the bearer token by building a request with curl:
|
1. Now retrieve the bearer token by building a request with curl:
|
||||||
|
|
||||||
|
|
||||||
curl -X POST --verbose "https://api.twitter.com/oauth2/token" -d "grant_type=client_credentials" -u consumerKey:consumerSecret
|
curl -X POST --verbose "https://api.twitter.com/oauth2/token" -d "grant_type=client_credentials" -u consumerKey:consumerSecret
|
||||||
|
|
||||||
The response should end like:
|
The response should end like:
|
||||||
@@ -47,4 +48,3 @@ Save that SECRETEXAMPLESTRING to secret.php:
|
|||||||
<?php
|
<?php
|
||||||
$bearer_token = 'SECRETEXAMPLESTRING';
|
$bearer_token = 'SECRETEXAMPLESTRING';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user