Jefferson-Henrique / Jefferson-Henrique/GetOldTweets-python

Only 1 tweet returned

Open
#106 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.3k
Forks
790
PR merge metrics
No merged PRs in 30d

Description

Hi Guys,

I'm a python newbie and am just really exited that I've managed to get 1 tweet back!!

However, I was hoping to see 10 based on the 'setMaxTweets(10)' parameter:

tweetCriteria = got.manager.TweetCriteria().setUsername('barackobama').setMaxTweets(10)
tweet = got.manager.TweetManager.getTweets(tweetCriteria)[0]

print tweet.text

Here's what is returned:

drice1@UBUNTU01:~/Applications/python/getoldtweets$ python Main.py
Michelle and I are thinking of the victims and their families in Barcelona. Americans will always stand with our Spanish friends. Un abrazo

It's probably a really stupid one so apologies.

Thanks,
Dave

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.