1
0
Fork 0
mirror of https://github.com/simi/omniauth-facebook.git synced 2022-11-09 12:32:45 -05:00

Updating Readme.md

Facebook is not providing information like the url, firstname, lastname and location. This is what gets returned when I use omniauth-facebook,


```
--- !ruby/hash:OmniAuth::AuthHash
provider: facebook
uid: '10204324823579719'
info: !ruby/hash:OmniAuth::AuthHash::InfoHash
  email: <email>
  name: Swaathi Kakarla
  image: <image>
credentials: !ruby/hash:OmniAuth::AuthHash
  token: <token>
  expires_at: 1474720216
  expires: true
extra: !ruby/hash:OmniAuth::AuthHash
  raw_info: !ruby/hash:OmniAuth::AuthHash
    name: Swaathi Kakarla
    email: <email>
    id: '10204324823579719'
```
This commit is contained in:
Swaathi Kakarla 2016-07-27 17:16:56 +05:30 committed by GitHub
parent 0035616e16
commit 9fe950b993

View file

@ -83,11 +83,7 @@ Here's an example *Auth Hash* available in `request.env['omniauth.auth']`:
info: { info: {
email: 'joe@bloggs.com', email: 'joe@bloggs.com',
name: 'Joe Bloggs', name: 'Joe Bloggs',
first_name: 'Joe',
last_name: 'Bloggs',
image: 'http://graph.facebook.com/1234567/picture?type=square', image: 'http://graph.facebook.com/1234567/picture?type=square',
urls: { Facebook: 'http://www.facebook.com/jbloggs' },
location: 'Palo Alto, California',
verified: true verified: true
}, },
credentials: { credentials: {