Skip to content

Extracting data using premium features like bio_location and profile Country #691

Answered by igorbrigadir
prathamesh168 asked this question in Q&A
Discussion options

You must be logged in to vote

Note: the v1.1 Premium API was meant to be deprecated Feb 13th once the new Paid API plans are implemented, it may stop working suddenly. Premium API is implemented in twarc commands for v1.1.

However, if you are talking about the v2 API, and have Academic Access, you can only use bio_location as an operator in a Filter stream rule https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/integrate/build-a-rule#list , not in search. Also note that this matches on Text only, it is not a geo location. The User Location field is a free text field that can contain anything. In twarc, this operator would be used for twarc2 stream-rules commands: https://twarc-project.readthedocs…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by igorbrigadir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants