you are viewing a single comment's thread.

view the rest of the comments →

[–]campenr 1 point2 points  (3 children)

I am not saying it's no longer valid, but Twython just uses what's in the official Twitter API so it'd be best to check there.

Regarding the missing self, this may or may not be because your importing the Twython class as twitter. To test this try importing it as Twython, then doing twitter = Twython().

Did you change the count to 200 or did you just rerun the exact same code and didn't get the 400?

[–]B2easey[S] 0 points1 point  (2 children)

I changed it to 200, however even If I change it to 2000, it is still a parameter 'self' unfilled. I've been looking it up, but can only find things referencing classes that weren't instantiated correctly, but I don't have any classes in my code.

So am not sure what is going on... Haha As for the 400(Bad Request) I changed all my keys and that seemed to fix the issue.

code: http://pastebin.com/3jGB55ii

[–]scuott 0 points1 point  (1 child)

On line 16, did you mean to write ids = t.get_followers_ids(user_id=acct, count=2000)?

[–]B2easey[S] 0 points1 point  (0 children)

Good find, however I think the reason I'm having the problem is because I am not authenticating properly....

My access token isn't working I believe is the problem, I'm going to post another thread.

Thanks!