I’m using the latest scribejava library to connect and hit a couple of endpoints such as https://api.twitter.com/1.1/friends/list.json. It works with the parameters screen_name(or user_id) and next_cursor to get multiple pages. If I add a count parameter to get more than the default 20 results, I get back an unauthorized response. I believe the library is sending the parameters in the correct order (below). Has anyone seen this? Does the count parameter work, and does it require an additional paramter or something else?
count%3D100%26
oauth_consumer_key%3Dkey%26
oauth_nonce%3Dnonce%26
oauth_signature_method%3DHMAC-SHA1%26
oauth_timestamp%3D1533307147%26
oauth_token%3Dtoken%26
oauth_version%3D1.0%26
screen_name%3Dusername