Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #53 from sferik/skip_status_and_entities

Update URL parameters to not return unused data
  • Loading branch information...
commit 179acb5fde8bf09954534e80be38a40d4eee5dce 2 parents 3ced123 + ff565fd
@arunagw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/omniauth/strategies/twitter.rb
View
2  lib/omniauth/strategies/twitter.rb
@@ -30,7 +30,7 @@ class Twitter < OmniAuth::Strategies::OAuth
end
def raw_info
- @raw_info ||= MultiJson.load(access_token.get('/1.1/account/verify_credentials.json').body)
+ @raw_info ||= MultiJson.load(access_token.get('/1.1/account/verify_credentials.json?include_entities=false&skip_status=true').body)
rescue ::Errno::ETIMEDOUT
raise ::Timeout::Error
end
Please sign in to comment.
Something went wrong with that request. Please try again.