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

GetUserTimeline() signature lists 'include_entities' but it isn't supported it seems #65

Closed
mishravishal opened this issue Jun 2, 2013 · 4 comments

Comments

@mishravishal
Copy link

ERROR: GetUserTimeline() got an unexpected keyword argument 'include_entities'

https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline
The link above doesn't show the parameter being supported.

@bear
Copy link
Owner

bear commented Jun 2, 2013

I'm confused - I just re-read that link and I don't see include_entities mentioned anywhere on that page.

entity information is now always included, so the parameter is no longer required.

The only thing that hits on that page for "include_*" search is the references to include_rts

@bear bear closed this as completed Jun 2, 2013
@mishravishal
Copy link
Author

Sorry, doesn't look like I was clear.
You're right, twitter doesn't support that parameter.
But, the GetUserTimelime argument list (copied below) in twitter.py lists it and if one tries to use it, the call fails. I was recommending removing it from the argument list but it's a very minor issue.

def GetUserTimeline(self,
id=None,
user_id=None,
screen_name=None,
since_id=None,
max_id=None,
count=None,
page=None,
include_rts=None,
trim_user=None,
include_entities=None,
exclude_replies=None):

@bear
Copy link
Owner

bear commented Jun 3, 2013

you may be looking at an older version of the code - I just checked the master branch on github to make sure and I see this as the GetUserTimeline() signature:

def GetUserTimeline(self,
user_id=None,
screen_name=None,
since_id=None,
max_id=None,
count=None,
include_rts=None,
trim_user=None,
exclude_replies=None):

@mishravishal
Copy link
Author

Yes, it was an older copy. Corrected.

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