Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Here's a one-off script for #1936 #1989

Merged
merged 11 commits into from
Feb 7, 2014
Merged

Here's a one-off script for #1936 #1989

merged 11 commits into from
Feb 7, 2014

Conversation

chadwhitacre
Copy link
Contributor

@BastianBerndsen and I are going to run this once to fix #1936. We could use this as a base to properly implement #900, but that'll take a good bit more work.

@seanlinsley
Copy link
Contributor

If we can only do 180 requests every fifteen minutes, given our 25,000 accounts (how many are associated with Twitter?), it would ~35 hours to complete 😦

@chadwhitacre
Copy link
Contributor Author

@seanlinsley Yes. We have 19,520 accounts, so at ~720 per hour we're looking at 27+ hours. Considering that #1936 is 15 days old, I think waiting another day is not so bad. :-)

@seanlinsley
Copy link
Contributor

Yeah, that's not a problem for a script you run once. I'm more thinking about #900

@Changaco
Copy link
Contributor

Changaco commented Feb 7, 2014

You're doing it wrong, you can get up to 100 user profiles in one request.

@zbynekwinkler
Copy link
Contributor

@Changaco is right. See #1395 (comment). The twitter api for this is https://dev.twitter.com/docs/api/1.1/get/users/lookup

@chadwhitacre
Copy link
Contributor Author

@Changaco @zwn Very cool! Can we note that over on #900?

@chadwhitacre
Copy link
Contributor Author

This is ready for final review and merge.

zbynekwinkler added a commit that referenced this pull request Feb 7, 2014
@zbynekwinkler zbynekwinkler merged commit 693827d into master Feb 7, 2014
@zbynekwinkler zbynekwinkler deleted the repair-twitter branch February 7, 2014 18:42
seanlinsley added a commit that referenced this pull request Feb 8, 2014
This resolves #1997 by using what we have instead of relying on a
derivative value from the database (that happened to be blown away by
#1989)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Twitter user avatars are broken
4 participants