Comments (12)
This is how I originally designed the app until @ryanatwork changed it.
See 617c18c.
from follow-all.
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.
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.
Oh right I changed that.. how about both? A dropdown and a textbox for custom lists.
from follow-all.
Maybe something like this? http://jsfiddle.net/EMEVL/
from follow-all.
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.
@rclosner Any plans to add this?
from follow-all.
@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.
@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.
Got a request today from the Brigade for this feature.
from follow-all.
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.
@drewrwilson That wonβt work: https://twitter.com/sferik/status/472440682318417920.
from follow-all.
Related Issues (11)
- RSpec HOT 1
- OAuth::Unauthorized HOT 1
- Twitter app needs read and write permissions
- CfA no longer has a 'team' list
- add next year's (2015) fellows HOT 1
- Gives an error when you try to follow a list that includes yourself HOT 2
- app down / 503 Error (Service Unavailable) HOT 2
- Cannot authenticate with Twitter
- Extend follow-all to github HOT 4
- Display users to follow on sessions#show HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from follow-all.