xdevplatform / Twitter-API-v2-sample-code

Sample code for the Twitter API v2 endpoints
https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
Apache License 2.0
2.71k stars 998 forks source link

Fix wrong usage of global var versus function arg #38

Closed lennde closed 3 years ago

lennde commented 3 years ago

Currently in the connect_to_endpoint function, the variable 'search_url' in the GET request is used. We should consider using the url parameter that is specified as an argument of the function.

github-actions[bot] commented 3 years ago

CLA Assistant Lite bot All Contributors have signed the CLA. If the commit check is not passing, a maintainer must go the Checks tab of this PR and rerun the GitHub Action.

lennde commented 3 years ago

I have read the CLA Document and I hereby sign the CLA

lennde commented 3 years ago

recheck