You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
I am using mongo and I don't have the exact same fields as the dict in the facebook plugin:
full_name = profile.get('name', None),
I actually have 'name' and not 'full_name'.
Can I provide my own facebook.py somehow? I could not work out how.
Maybe it's easy. This code from core.py is close but it adds the module path.
You closed this, so I'm guessing you figured it out, but the general pattern with Flask-Social (using Mongo or any other data store) would be to match the fields in the existing fields within the providers. All of the providers have the same fields so that the Connection class can abstract the connection to any provider.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using mongo and I don't have the exact same fields as the dict in the facebook plugin:
full_name = profile.get('name', None),
I actually have 'name' and not 'full_name'.
Can I provide my own facebook.py somehow? I could not work out how.
Maybe it's easy. This code from core.py is close but it adds the module path.
(I could also monkeypatch get_connection_values and put my own facebook to mongo decoder. Not approved. )
The text was updated successfully, but these errors were encountered: