1👍
✅
Why have you got a comma at the end of the line? That is making python think you have a tuple, not a string:
>>> t = "s" if True else "b"
>>> print t
s
>>> t = ("s" if True else "b")
>>> print t
s
>>> t = ("s" if True else "b"),
('s',)
so try:
obj.location=facebookMember['location'].get('name', None)
Source:stackexchange.com