GithubHelp home page GithubHelp logo

codeforamerica / follow-all Goto Github PK

View Code? Open in Web Editor NEW
81.0 77.0 31.0 1.85 MB

Follow all the members of a Twitter list with a single click

Home Page: http://follow-all.herokuapp.com/

License: BSD 3-Clause "New" or "Revised" License

Ruby 58.13% JavaScript 1.20% CoffeeScript 0.12% CSS 25.51% HTML 15.04%

follow-all's Introduction

This project is no longer under active development

Follow All

Build Status Dependency Status Coverage Status

Follow All allows you to select a Twitter list and follow all of its members.

Screenshot

Follow All

Installation

git clone git://github.com/codeforamerica/follow-all.git
cd follow-all
bundle install

Usage

Running your own instance of Follow All requires you to register an app with Twitter to obtain OAuth credentials. After you register your app, go to the "Settings" tab, set a Callback URL in the "Application Type" section, and click "Update this Twitter application's settings." It doesn't matter what the URL is, as long as one is set.

Twitter app callback URL

Once you obtain credentials, substitute your consumer key and secret into the command below. You can find your consumer key and secret in your Twitter app's "Keys and Access Tokens" section.

CONSUMER_KEY=abc CONSUMER_SECRET=123 rails server

Supported Ruby Version

This library aims to support and is tested against Ruby version 1.9.3.

Copyright

Copyright (c) 2011 Code for America. See LICENSE for details.

follow-all's People

Contributors

danmelton avatar droob avatar kacole2 avatar loumoore avatar michellekoeth avatar monfresh avatar sferik avatar techieshark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

follow-all's Issues

Cannot authenticate with Twitter

The herokuapp link takes me to the "Authenticate with your Twitter" page. Instead of opening a pop-up or OAuth in the background, it takes me to "please check your logs" page.

RSpec

This could just be a matter of preference, but is there any opposition to using RSpec to test this app (as opposed to Test::Unit)? I'm open to using Test::Unit, but I find RSpec's syntax a little cleaner. @sferik what was the design decision behind the testing framework? Do you prefer Test::Unit? I'll defer to you. Obviously, changing the framework for a single contributor wouldn't be justified.

add next year's (2015) fellows

Currently the lists generated for fellows is 2011 (FIRST_YEAR) through the current year (see sessions_helper.rb. That works usually, but when the fellows for the following year (2015) are announced in late 2014, they won't show up as a list.

The simplest 'fix' is adding +1 after Date.today.year but we'll probably also want a way to ensure that the list actually exists (otherwise, in January we'd have a 2016 list before the fellows have even applied).

Display users to follow on sessions#show

Not an issue, but a feature (maybe?). It would be nice to see exactly who you are about to follow prior to following a list of some indeterminate number of users.

I'll submit a pull request if this attracts any interest.

OAuth::Unauthorized

Hi, I don't know rails at all so that may be my problem.

I followed the Installation and Usage directions on the Readme. I created a new Twitter app and entered the consumer keys.

I get an unauthorized error when I try to log in.

Here is the dump.
https://gist.github.com/ondrae/8588754

Twitter app needs read and write permissions

After following the deployment instructions, I can select a list and click the 'Follow all members of this list' button but then I get the following:

image

Running heroku logs results in this output, with the key line appearing to be:

Twitter::Error::Unauthorized (Read-only application cannot POST.):

Changing the permission to read+write seemed to fix that (after also updating the config vars with the new consumer key and secret).

image

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.