flashingpumpkin/django-socialregistration — Issue #137: Get first and last name
Author: socksz
Created: 2011-12-24 00:32:21+00:00
State: open

Hi,
I added these lines [here](https://github.com/flashingpumpkin/django-socialregistration/blob/master/socialregistration/views.py#L125):

```
graph = request.facebook.graph
fb_profile = graph.get_object("me")
user.first_name = fb_profile['first_name']
user.save()
```

When I try to connect I get this error: `int() argument must be a string or a number, not 'AnonymousUser'`.
Why?