twython
twython copied to clipboard
How to get rate limit in app only authentication
I have been trying to get rate limit from thetwitter.get_lastfunction_header('x-rate-limit-remaining') function but it returns me Twitter API returned a 400 (Bad Request), Bad Authentication data..
I am initialising twitter as twitter = Twython(APP_KEY,APP_SECRET)