currently all callback functions for all providers are extracting different info from the response returned by providers.
For example, facebook.py extracts timezone,gender and birthday and append them into profile while tiwtter extract some different, extra data like addresses.
I am not sure how to override the callback function on the fly to extract additional data from the response to the profile variable as they are hard coded before the view get the profile.
Is it better just return the raw response to the view by context?
That way the view can do whatever it wants to the response rather than a harde coded profile with limited and inconsistent data?
currently all callback functions for all providers are extracting different info from the response returned by providers.
For example, facebook.py extracts timezone,gender and birthday and append them into profile while tiwtter extract some different, extra data like addresses.
I am not sure how to override the callback function on the fly to extract additional data from the response to the profile variable as they are hard coded before the view get the profile.
Is it better just return the raw response to the view by context? That way the view can do whatever it wants to the response rather than a harde coded profile with limited and inconsistent data?
Thanks