Skip to content

Commit 9800286

Browse files
rojvvrefarer
authored andcommitted
improve consistency in the headings & fix typos
1 parent 10054a0 commit 9800286

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For more information about authentication [go here](#authentication)
3636

3737
## Examples
3838

39-
### Consuming a stream
39+
### Consuming a Stream
4040

4141
```typescript
4242
import { Client } from "twitter-api-sdk";
@@ -55,7 +55,7 @@ async function main() {
5555
main();
5656
```
5757

58-
### Getting a tweet
58+
### Getting a Tweet
5959

6060
```typescript
6161
import { Client } from "twitter-api-sdk";
@@ -108,7 +108,7 @@ You can see various examples on how to use the authentication in [examples/](exa
108108

109109
Make sure you turn on OAuth2 in your apps user authentication settings, and set the type of app to be either a confidential client or a public client.
110110

111-
### Creating an public Auth Client
111+
### Creating a Public Auth Client
112112

113113
```typescript
114114
const authClient = new auth.OAuth2User({
@@ -120,7 +120,7 @@ const authClient = new auth.OAuth2User({
120120
const client = new Client(authClient);
121121
```
122122

123-
### Creating an confidential Auth Client
123+
### Creating a Confidential Auth Client
124124
```typescript
125125
const authClient = new auth.OAuth2User({
126126
client_id: process.env.CLIENT_ID,
@@ -141,7 +141,7 @@ const authUrl = authClient.generateAuthURL({
141141
});
142142
```
143143

144-
### Getting an Access Token
144+
### Requesting an Access Token
145145

146146
Once the user has approved the OAuth flow, you will receive a `code` query parameter at the callback URL you specified.
147147

@@ -166,7 +166,7 @@ Note this is only for developers who want to contribute code to the SDK
166166
git clone https://github.com/twitterdev/twitter-api-typescript-sdk
167167
```
168168

169-
### Running the generation script
169+
### Running the Generation Script
170170

171171
Generating the SDK with the [latest OpenAPI spec](https://api.twitter.com/2/openapi.json). The version is any valid [SemVer](https://semver.org/) version
172172

0 commit comments

Comments
 (0)