Skip to content

Commit

Permalink
Updating Readme.md
Browse files Browse the repository at this point in the history
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'
```
  • Loading branch information
swaathi committed Jul 27, 2016
1 parent 0035616 commit 9fe950b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ Here's an example *Auth Hash* available in `request.env['omniauth.auth']`:
info: {
email: 'joe@bloggs.com',
name: 'Joe Bloggs',
first_name: 'Joe',
last_name: 'Bloggs',
image: 'http://graph.facebook.com/1234567/picture?type=square',
urls: { Facebook: 'http://www.facebook.com/jbloggs' },
location: 'Palo Alto, California',
verified: true
},
credentials: {
Expand Down

0 comments on commit 9fe950b

Please sign in to comment.