Twitter profile image is tiny with Auth0 Universal login
Twitter profile image is tiny with Auth0 Universal login
Im using Auth0's universal login with Facebook and Twitter. By default both of the social networks return tiny version of the user's profile image.
With Facebook you can set a rule in Auth0 which returns the larger one, however I cant any way to do the same with Twitter (default is 48px).
1 Answer
1
I don't know if this is best practice or not but if you replace the string "A_normal" with "A_400x400" then you get an image 400px square:
picture.replace('A_normal', 'A_400x400');
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.