Simon Willison’s Weblog

Subscribe

Entries tagged twitter

Filters: Type: entry × twitter × Sorted by date


Analytics: Hacker News v.s. a tweet from Elon Musk

My post Bing: “I will not harm you unless you harm me first” really took off.

[... 817 words]

Mastodon is just blogs

And that’s great. It’s also the return of Google Reader!

[... 1560 words]

It looks like I’m moving to Mastodon

Elon Musk laid off about half of Twitter this morning. There are many terrible stories emerging about how this went down, but one that particularly struck me was that he laid off the entire accessibility team. For me this feels like a microcosm of the whole situation. Twitter’s priorities are no longer even remotely aligned with my own.

[... 1546 words]

Building a Covid sewage Twitter bot (and other weeknotes)

I built a new Twitter bot today: @covidsewage. It tweets a daily screenshot of the latest Covid sewage monitoring data published by Santa Clara county.

[... 1079 words]

SQLite Happy Hour—a Twitter Spaces conversation about three interesting projects building on SQLite

Yesterday I hosted SQLite Happy Hour. my first conversation using Twitter Spaces. The idea was to dig into three different projects that were doing interesting things on top of SQLite. I think it worked pretty well, and I’m curious to explore this format more in the future.

[... 1998 words]

How much can you learn from just two columns?

Derek Willis shared an intriguing dataset this morning: a table showing every Twitter account followed by an official GOP congressional Twitter account.

[... 951 words]

Weeknotes: Datasette 0.40, various projects, Dogsheep photos

A new release of Datasette, two new projects and progress towards a Dogsheep photos solution.

[... 826 words]

Weeknotes: ONA19, twitter-to-sqlite, datasette-rure

I’ve decided to start writing weeknotes for the duration of my JSK fellowship. Here goes!

[... 919 words]

Analyzing my Twitter followers with Datasette

I decided to do some ad-hoc analsis of my social network on Twitter this afternoon… and since everything is more fun if you bundle it up into a SQLite database and publish it to the internet I performed the analysis using Datasette.

[... 1314 words]

Why did Twitter move away from being a single-page application?

Twitter is still a single page application, it’s just built properly now (one result of which is that you can’t easily tell).

[... 712 words]

What do Twitter and Gawker think of hash-bangs URLs?

As of December 2013 (and potentially much earlier, I don’t have the exact dates) both Twitter and a Gawker have moved away from hash bang URLs, so my guess is they turned out not to be a good idea.

[... 82 words]

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

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.

[... 125 words]

How did The Voice implement Twitter voting?

You don’t need full firehouse access to implement this—you can use the statuses/filter API to get a feed of tweets that match a specific hash tag: https://dev.twitter.com/docs/api...

[... 63 words]

It is posible to send an RSS feed to Twitter geolocalized?

Yes, this is possible using the Twitter API. A competent web programmer should be ale to build this for you in a few hours.

[... 41 words]

Why can’t Twitter Web Intent pages be loaded into an iframe?

I imagine this is to discourage clickjacking: http://en.m.wikipedia.org/wiki/C...

[... 26 words]

Using userstream to listen to events for each user doesn’t seem practicable for an application with thousands of users.

Sounds like you need Site streams: https://dev.twitter.com/docs/str...

[... 55 words]

If one were to bring the concept of Twitter to a VC today, would it be invested in, or turned away?

If someone brought just the concept without any form of actual implementation (of something that is pretty easy to prototype) I don’t think they would get very far.

[... 55 words]

Does Twitter still care about Tweetdeck?

Anecdotal: I personally know two people who have joined the TweetDeck team at Twitter in the past year. They frequently ship improvements, and seem to be enjoying themselves.

[... 40 words]

What are some good examples of tweets used to attract visitors to a new website?

Without knowing what the site does, I’d go for the personal approach: "I just launched my new project, example.com—check it out and let me know what you think!"

[... 52 words]

Where is Twitter’s office in London?

Just off Great Portland Street.

[... 17 words]

What could be the reason my login with Twitter stopped work in web site?

Yes, there have been breaking changes recently. You need to make sure you are running on Twitter’s API v1.1: https://dev.twitter.com/docs/api...

[... 41 words]

Is Twitter using its public api for its own website?

You can use Firebug or the Chrome network inspector to answer this question for yourself. They used to use the API for pretty much all of the site, but I think they’re backing off that a little know heat they serve real pages with real URLs for things like individual profile pages.

[... 68 words]

What are the ways to get your links expand in Twitter inline?

This feature is called Twitter Cards - you need to add some metadata to your pages, then apply to Twitter for inclusion in the program (they currently operate a whitelist of sites). See the documentation for more details.

[... 57 words]

How does Twitter select trending topics?

They use stream processing algorithms—they mention trending topics calculation in their technical blog entry about Storm, their open source stream processing software: http://engineering.twitter.com/2...

[... 38 words]

What is the most efficient way to lookup an object (e.g. a user) by only a string?

Yes—an index on a varchar column is exactly how you would implement this.

[... 38 words]

Why does Twitter use a hashbang instead of using the History API?

I asked a friend who is an engineer there about this a while ago. When they shipped the first version of Twitter that used fully Ajax driven pages there was a critical bug with pushState in a widely deployed version of Safari, which made it impractical to commit to.

[... 67 words]

Why did Twitter have so many problems if it is made with Ruby?

The technical problem Twitter solves (distributing millions of short messages per minute to an enormous graph of follow relationships) is extremely hard in any language.

[... 44 words]

Do Twitter API limits rest at the top of the hour or is it floating?

I’m pretty sure they are calculated from the time of the first hit you make to the API—resetting on the hour would likely encourage API users to run large batches of queries at 1 second past the hour, resulting in huge and unwanted traffic spikes.

[... 68 words]

What is a Twitter alternative for internal teams?

Yammer is the most obvious tool here.

[... 78 words]

How to get a Twitter user’s join date?

It’s included in the standard user JSON that comes back with any tweet—or you can hit http://api.twitter.com/1/users/s... and look at the created_at key

[... 40 words]