Skip to content

Commit

Permalink
added users.read scope
Browse files Browse the repository at this point in the history
  • Loading branch information
AntGe committed Oct 29, 2024
1 parent 5e695f8 commit b831f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OAuth/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const useOAuthSocials = () => {

const callbackUrl = encodeURI(`${window.location.origin}/callback`);
popupRef.current = openPopup(
`https://twitter.com/i/oauth2/authorize?response_type=code&client_id=${environment.twitterClientId}&state=state&scope=tweet.read%20offline.access&redirect_uri=${callbackUrl}&code_challenge=challenge&code_challenge_method=plain`
`https://twitter.com/i/oauth2/authorize?response_type=code&client_id=${environment.twitterClientId}&state=state&scope=tweet.read%20users.read%20offline.access&redirect_uri=${callbackUrl}&code_challenge=challenge&code_challenge_method=plain`
) as any;

async function handleMessageListener(message) {
Expand Down

0 comments on commit b831f7e

Please sign in to comment.