Simon Willison’s Weblog

Subscribe

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/...

This is How do I put my Twitter picture on my company’s about page so that it automatically updates? by Simon Willison, posted on 28th November 2013.

Next: What is the ways to view the examples without download the example files in github?

Previous: Where can I find a copy of Y Combinator's user manual (as mentioned in the most recent book by Randall Stross)?

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe