Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"*" land = xx all tweets #5

Closed
MyraBaba opened this issue Jan 12, 2017 · 13 comments
Closed

"*" land = xx all tweets #5

MyraBaba opened this issue Jan 12, 2017 · 13 comments

Comments

@MyraBaba
Copy link

Hi,

in python api we can do 👍
resp = t.search.tweets(q="*", lang=langs[language], count=page_size, last_id=last_id, until=start_date, blah=str(uuid.uuid4()))

q="*" we can use.

But when we try in demo code:

searchTweets("*").map { tweets => println(s"Downloaded ${tweets.size} tweets") toFileAsJson("src/main/resources/tweets/scalax3.json", tweets) println(s"Tweets saved to file $filename") }

its not working ..

any idea.?

@DanielaSfregola
Copy link
Owner

Hi @MyraBaba,
I am not an expert of tweepy....can you give me more context of what you are trying to do? are you using the rest api (i.e.: searching the tweets in the past) or the streaming api (i.e.: receiving the tweets as they happen)?

Also, where did you get searchTweets...?

@MyraBaba
Copy link
Author

MyraBaba commented Jan 12, 2017 via email

@DanielaSfregola
Copy link
Owner

DanielaSfregola commented Jan 12, 2017

Hi @MyraBaba,I believe you are looking for the searchTweet function of the TwitterRestClient. See scaladoc for more info: http://danielasfregola.github.io/twitter4s/4.0.1/api/com/danielasfregola/twitter4s/http/clients/rest/search/TwitterSearchClient

Cheers,
Daniela

@MyraBaba
Copy link
Author

MyraBaba commented Jan 12, 2017 via email

@DanielaSfregola
Copy link
Owner

* is not working.
Do you get an error? What does it happen?

@MyraBaba
Copy link
Author

MyraBaba commented Jan 12, 2017 via email

@DanielaSfregola
Copy link
Owner

DanielaSfregola commented Jan 12, 2017

Hi @MyraBaba,
it is probably a bug of the client, I'll look into it asap! Cheers

@MyraBaba
Copy link
Author

MyraBaba commented Jan 12, 2017 via email

@DanielaSfregola
Copy link
Owner

Hi @MyraBaba, thank you for raising this issue.
I have found the bug and it will be fixed in the next release (see DanielaSfregola/twitter4s#91 for more details).

Cheers,
D.

@MyraBaba
Copy link
Author

MyraBaba commented Jan 13, 2017 via email

@DanielaSfregola
Copy link
Owner

Hi @MyraBaba,
the fix has been released in twitter4s 4.1!

Please do let me know if this is still not working as expected.

Cheers,
D.

@MyraBaba
Copy link
Author

MyraBaba commented Jan 15, 2017 via email

@MyraBaba
Copy link
Author

MyraBaba commented Jan 15, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants