Items tagged twitter
Filters: twitter ×
Twitter conversation about long-term pre-paid archival storage. I kicked off a conversation on Twitter yesterday about long-time archival storage of web content: “Anyone know of a web hosting provider where I can pay a lump sum of money to host a file at a reliable URL essentially forever? Is this even remotely feasible?”. The thread is really interesting—this is definitely an unsolved problem, and it’s clear that the challenge is more organizational (how do you create an entity that can keep this kind of promise—does it need to be some kind of foundation or trust?) than technical. # 5th November 2018, 6:50 pm
python-twitter/get_access_token.py. Creating an OAuth token for accessing a specific Twitter account is way harder than it needs to be. I was about to write my own command-line script for doing this using PIN-based authentication (where you pop open a browser showing the Twitter login flow, then get a PIN number at the end which you paste back into your script) when I discovered that the python-twitter library already ships with a script to do exactly that. Just run “python get_access_token.py”, paste in your app’s consumer key and secret, follow a link, enter the resulting PIN and the script will spit out the consumer_key / consumer_secret / access_token_key / access_token_secret combo you need to start using the Twitter API. # 28th October 2018, 5:25 pm
How about if, instead of ditching Twitter for Mastodon, we all start blogging and subscribing to each other’s Atom feeds again instead? The original distributed social network could still work pretty well if we actually start using it
If I tweeted a throwaway comment in appreciation for McDonald’s apple pies and some other randos on Twitter happened to also tweet similar thoughts over the last few months, it doesn’t mean by extrapolation that ‘Millennials Can’t Get Enough Of McDonald’s Apple Pies’. The Twitter search box is not a polling agency and Twitter doesn’t include everybody’s thoughts on everything. Just some people’s thoughts on some things.
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]
Early this year, the U.S. intelligence community named RT and Sputnik as implementing state-sponsored Russian efforts to interfere with and disrupt the 2016 Presidential election, which is not something we want on Twitter.
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]
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]
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]
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]
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]
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 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]
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]
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]
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]
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]
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]
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]
Yes—an index on a varchar column is exactly how you would implement this.[... 38 words]
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]
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]
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]
Yammer is the most obvious tool here.[... 78 words]
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]
Twitter API: What is the best data storage mechanism and client library for analysing tweets using Python?
It depends on how much data you intend to collect, and how you intend to then share that data.[... 182 words]
Think about it like this: the whole point of the Twitter streaming API is to get you the tweets as soon after they are posted as possible. If the API were to provide access to the lengthened URLs, it would have to delay emitting a Tweet on to the stream until a resolver had gone through each shortened URL in the tweet and checked to find what it redirects to. This would mean that the speed with which the streaming API could deal out tweets would be dependent on the speed of the third party servers that serve up the redirects. I doubt Twitter would ever want to implement this.[... 159 words]
The science of the hashtag. Interesting analysis of how the #lessambitiousmovies hash tag took off thanks to retweets from a couple of key users with very creative followers. # 14th January 2011, 4:02 am