Skip to content

docs: Fix typo #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Batch-Compliance/java/src/main/java/CreateJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* */
public class CreateJob {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException {
Expand Down
2 changes: 1 addition & 1 deletion Batch-Compliance/java/src/main/java/GetJobById.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* */
public class GetJobById {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Batch-Compliance/java/src/main/java/GetJobs.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* */
public class GetJobs {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Blocks-Lookup/lookup_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'CONSUMER_KEY'='<your_consumer_key>'
# export 'CONSUMER_SECRET'='<your_consumer_secret>'

Expand Down
4 changes: 2 additions & 2 deletions Bookmarks-lookup/bookmarks_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
from requests_oauthlib import OAuth2Session

# First, you will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = os.environ.get("CLIENT_ID")

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
4 changes: 2 additions & 2 deletions Bookmarks-lookup/bookmarks_lookup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
require 'twitter_oauth2'

# First, you will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = ENV["CLIENT_ID"]

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
2 changes: 1 addition & 1 deletion Filtered-Stream/FilteredStreamDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* Sample code to demonstrate the use of the Filtered Stream endpoint
* */
public class FilteredStreamDemo {
// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Filtered-Stream/filtered_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion Full-Archive-Search/FullArchiveSearchDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* */
public class FullArchiveSearchDemo {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Full-Archive-Tweet-Counts/FullArchiveTweetCountsDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* */
public class FullArchiveTweetCountsDemo {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Likes-Lookup/liked_tweets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion Likes-Lookup/liking_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion List-lookup/List-Tweets-lookup/List-Tweets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion List-lookup/List-follows-lookup/list-followers-lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion List-lookup/List-follows-lookup/user-list-followed.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion List-lookup/List-members-lookup/list-member-lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion List-lookup/List-members-lookup/user-list-memberships.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion List-lookup/list-lookup-by-id.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
2 changes: 1 addition & 1 deletion List-lookup/user-owned-list-lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
4 changes: 2 additions & 2 deletions Manage-Bookmarks/create_bookmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
tweet_to_bookmark = {"tweet_id": "1460323737035677698"}

# You will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = os.environ.get("CLIENT_ID")

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
4 changes: 2 additions & 2 deletions Manage-Bookmarks/create_bookmark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
require 'twitter_oauth2'

# First, you will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = ENV["CLIENT_ID"]

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
4 changes: 2 additions & 2 deletions Manage-Bookmarks/delete_bookmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
bookmarked_tweet_id = "1460323737035677698"

# You will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = os.environ.get("CLIENT_ID")

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
4 changes: 2 additions & 2 deletions Manage-Bookmarks/delete_bookmark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
require 'twitter_oauth2'

# First, you will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = ENV["CLIENT_ID"]

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
4 changes: 2 additions & 2 deletions Media Upload/media_upload_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
VIDEO_FILENAME = 'REPLACE_ME'

# You will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = os.environ.get("CLIENT_ID")

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
2 changes: 1 addition & 1 deletion Mutes-Lookup/lookup_mutes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'CONSUMER_KEY'='<your_consumer_key>'
# export 'CONSUMER_SECRET'='<your_consumer_secret>'

Expand Down
2 changes: 1 addition & 1 deletion Recent-Search/RecentSearchDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* */
public class RecentSearchDemo {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Recent-Tweet-Counts/RecentTweetCountsDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* */
public class RecentTweetCountsDemo {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Retweets-Lookup/retweeted_by.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'CONSUMER_KEY'='<your_consumer_key>'
# export 'CONSUMER_SECRET'='<your_consumer_secret>'
consumer_key = os.environ.get("CONSUMER_KEY")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
from requests_oauthlib import OAuth2Session

# First, you will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = os.environ.get("CLIENT_ID")

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
require 'twitter_oauth2'

# First, you will need to enable OAuth 2.0 in your App’s auth settings in the Developer Portal to get your client ID.
# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_ID='your-client-id'
client_id = ENV["CLIENT_ID"]

# If you have selected a type of App that is a confidential client you will need to set a client secret.
# Confidential Clients securely authenticate with the authorization server.

# Inside your terminal you will need to set an enviornment variable
# Inside your terminal you will need to set an environment variable
# export CLIENT_SECRET='your-client-secret'

# Remove the comment on the following line if you are using a confidential client
Expand Down
2 changes: 1 addition & 1 deletion Sampled-Stream/SampledStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* */
public class SampledStreamDemo {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Search-Spaces/SearchSpacesDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* */
public class SpacesLookupDemo {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Spaces-Lookup/SpacesLookupDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* */
public class SpacesLookupDemo {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Tweet-Lookup/TweetsDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* */
public class TweetsDemo {

// To set your enviornment variables in your terminal run the following line:
// To set your environment variables in your terminal run the following line:
// export 'BEARER_TOKEN'='<your_bearer_token>'

public static void main(String args[]) throws IOException, URISyntaxException {
Expand Down
2 changes: 1 addition & 1 deletion Tweet-Lookup/get_tweets_with_bearer_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import json

# To set your enviornment variables in your terminal run the following line:
# To set your environment variables in your terminal run the following line:
# export 'BEARER_TOKEN'='<your_bearer_token>'
bearer_token = os.environ.get("BEARER_TOKEN")

Expand Down
Loading
Loading