이 명령은 브라우저 기반 OAuth 흐름을 엽니다. 인증이 완료되면 xurl이 토큰을 ~/.xurl에 로컬로 저장하므로 다시 인증할 필요가 없습니다.
브라우저에 **“Something went wrong — You weren’t able to give access to the App”**이 표시된다면, xurl이 유효한 자격 증명 없이 로그인을 시작한 것입니다. xurl auth oauth2를 실행한 셸에서 CLIENT_ID와 CLIENT_SECRET이 export되어 있는지, 그리고 http://localhost:8080/callback이 앱에 리다이렉트 URI로 등록되어 있는지 확인하세요.
# Look up a userxurl /2/users/by/username/xdevelopers# Search recent postsxurl "/2/tweets/search/recent?query=from:xdevelopers&max_results=10"# Create a postxurl -X POST /2/tweets -d '{"text": "Hello from xurl!"}'