Simon Willison’s Weblog

How do I put my Twitter picture on my company’s about page so that it automatically updates?

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.

Tagged ,

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)?