We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2dfbed4 + f56075c commit 3e9db54Copy full SHA for 3e9db54
1 file changed
lib/omniauth/strategies/instagram.rb
@@ -31,7 +31,7 @@ def request_phase
31
32
def raw_info
33
endpoint = '/me'
34
- fields = 'account_type,id,media_count,username'
+ fields = options[:fields] || 'account_type,id,media_count,username'
35
@raw_info ||= access_token.get("#{endpoint}?fields=#{fields}").parsed
36
end
37
0 commit comments