API `twitter_name` to get twitter profile photo by username is broken
The demo works for BillClinton but not any other users:
Works: https://res.cloudinary.com/demo/image/twitter_name/BillClinton.jpg
Does not work: https://res.cloudinary.com/demo/image/twitter_name/styfle.jpg
Documentation: https://cloudinary.com/documentation/social_media_profile_pictures#twitter_profile_pictures
-
Hi Steven,
You're trying to use the `demo` cloud to retrieve a new `twitter_name` image.
This option is disabled for this account and will only work with predefined examples that we use in our documentation, blog posts, knowledge base articles, and cookbook recipes.
Have you tried doing the same while replacing the cloud_name component of the URL with your own cloud name? It should work unless you actively restricted the "Twitter profile name" option in the security tab of your account's settings area.
Please see below an example screenshot showing where this setting can be changed:
In case the marked checkbox is currently checked for your account, you must uncheck it for this flow to work.
If you still struggle with any errors when trying to fetch the twitter profile image, please open a support ticket at support@cloudinary.com and one of our agents will be happy to assist you with resolving it.Best,
Raz0 -
Thanks Raz, it worked when I changed `demo` to my own cloud name!
0 -
Excellent Steven! Thanks for the update, I'm happy to hear that it worked :)
0
Post is closed for comments.
Comments
3 comments