Skip to content
Open
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 User-Lookup/get_users_me_with_user_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const consumer_secret = process.env.CONSUMER_SECRET;
// by default, only the Tweet ID and text are returned
const params = 'user.fields=created_at,description&expansions=pinned_tweet_id' // Edit optional query parameters here

const endpointURL = `https://api.twitter.com/2/users/me?{params}`;
const endpointURL = `https://api.twitter.com/2/users/me?${params}`;

// this example uses PIN-based OAuth to authorize the user
const requestTokenURL = 'https://api.twitter.com/oauth/request_token?oauth_callback=oob';
Expand Down