How do I put my Twitter picture on my company’s about page so that it automatically updates?
28th November 2013
My answer to How do I put my Twitter picture on my company’s about page so that it automatically updates? on Quora
This used to be pretty easy, but Twitter made it a lot harder with their APIv1. You need to do authenticated API calls to access their image API now, which means it’s best to set up a cron job and cache the correct URL.
I suggest using Facebook for this instead. You can construct a URL to your profile image directly using your Facebook custom URL. You can reference this directly from an HTML image tag. Here’s my current Facebook image:
https:// graph.facebook.com / swillison / picture (remove spaces to see it, working around Quora’s content rewriting)
Docs here: https://developers.facebook.com/...
More recent articles
- Prompts.js - 7th December 2024
- First impressions of the new Amazon Nova LLMs (via a new llm-bedrock plugin) - 4th December 2024
- Storing times for human events - 27th November 2024