GithubHelp home page GithubHelp logo

Comments (12)

sferik avatar sferik commented on July 21, 2024

This is how I originally designed the app until @ryanatwork changed it. πŸ˜‰

See 617c18c.

from follow-all.

sferik avatar sferik commented on July 21, 2024

Also, I'm not particularly happy with this code (which I wrote): https://github.com/codeforamerica/follow-all/blob/master/app/helpers/sessions_helper.rb

I'm now thinking it should use the Twitter.lists method. The downside is, it requires an extra synchronous Twitter API call but, on the upside, I think it makes the code more dynamic.

from follow-all.

lovehandle avatar lovehandle commented on July 21, 2024

If we use a text field (in lieu of a select box) for the user selection, we could use the Twitter.lists method to dynamically pull every list the user has.

I'm in favor of opening up the lists a user can follow via follow-all.

from follow-all.

ryanatwork avatar ryanatwork commented on July 21, 2024

Oh right I changed that.. how about both? A dropdown and a textbox for custom lists.

from follow-all.

sferik avatar sferik commented on July 21, 2024

Maybe something like this? http://jsfiddle.net/EMEVL/

from follow-all.

GovInTrenches avatar GovInTrenches commented on July 21, 2024

I'm working on a project that's like a start-up kit for communities new to civic hacking and I wanted to fork this repo so I could allow a list of all the civic hacker accounts. (A long list to be sure, but would really be handy for new people - I could cut it down too) However, if this repo was going to allow custom lists we may be able to work it out that way. I would just need to find a way to ensure my users say my list first.

from follow-all.

sferik avatar sferik commented on July 21, 2024

@rclosner Any plans to add this?

from follow-all.

bensheldon avatar bensheldon commented on July 21, 2024

@GovInTrenches it's really simple to just rip out the whole Twitter.list following functionality and just feed it an array of Twitter usernames to loop over and subscribe to. Basically replace this block in the User model with an array of usernames (fetched from anywhere... like a yaml file or an external json resource, for example). Then just rip out the form stuff in the template and the controller. Voila.

from follow-all.

lovehandle avatar lovehandle commented on July 21, 2024

@sferik Did this already. I haven't made a pull request because I wanted to add tests. Lost momentum, but hoping to wrap up sometime this week? (Fingers Crossed)

from follow-all.

ondrae avatar ondrae commented on July 21, 2024

Got a request today from the Brigade for this feature.

from follow-all.

drewrwilson avatar drewrwilson commented on July 21, 2024

Hey @codesliced and I made a version of follow-all for TransparencyCamp's attendees list. We had to do some finagling to address rate limiting, but it seems to be working now. To address the rate limiting, we just made it sleep for a little while then retry.

Here's our forked repo: https://github.com/drewrwilson/follow-all

EDIT: Thanks @sferik for all the advice and help via twitter and stuff!

from follow-all.

sferik avatar sferik commented on July 21, 2024

@drewrwilson That won’t work: https://twitter.com/sferik/status/472440682318417920.

from follow-all.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.