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
from users.models import CustomUser
from allauth.socialaccount.models import SocialAccount
u = CustomUser.objects.filter(username = 'ykdojo')[0]
sa = SocialAccount.objects.filter(user = u)[0]
sa.uid # this gives me my Twitter ID, I think. I should be able to use this ID to follow this account instead of using the Twitter handle, which the user might change anytime.
We need to do this just in case the user changes their user handle on Twitter.
The text was updated successfully, but these errors were encountered: