File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if [[ -z "$username" || -z "$password" ]]; then
1212fi
1313
1414bearer_token=' AAAAAAAAAAAAAAAAAAAAAFXzAwAAAAAAMHCxpeSDG1gLNLghVe8d74hl6k4%3DRUMF4xAQLsbeBhTSRrCiQpJtxoGWeyHrDb5te2jpGskWDFW82F'
15- guest_token=$( curl -s -XPOST -c " ${cookie} " https://api.twitter.com/1.1/guest/activate.json -H " Authorization: Bearer ${bearer_token} " -d " grant_type=client_credentials" | jq -r ' .guest_token' )
15+ guest_token=$( curl -s -XPOST https://api.twitter.com/1.1/guest/activate.json -H " Authorization: Bearer ${bearer_token} " -d " grant_type=client_credentials" | jq -r ' .guest_token' )
1616base_url=' https://api.twitter.com/1.1/onboarding/task.json'
1717header=(-H " Authorization: Bearer ${bearer_token} " -H " User-Agent: TwitterAndroid/10.21.0-release.0" -H " X-Twitter-Active-User: yes" -H " Content-Type: application/json" -H " X-Guest-Token: ${guest_token} " )
1818
You can’t perform that action at this time.
0 commit comments