view README.md @ 86:5bfc986200db

The caching becomes a bit confusing because of parameters
author nanaya <me@myconan.net>
date Mon, 27 Jun 2016 05:14:10 +0900
parents bdc723f05119
children f76d44baa3dc
line wrap: on
line source

rsstweet
========

Twitter removed their v1.0 API and thus completely disables access to tweets
using RSS readers.

This application will proxy user's tweets into atom feed which solves the
problem.

Installation
------------

    hg clone ...
    cd ... && bundle
    export ...
    bin/rails s

Detailed instruction is left as an exercise unless someone step up and write
one for me.

Configuration
-------------

This application depends on at least those two Twitter-related tokens:

- `RT_CONSUMER_KEY`
- `RT_CONSUMER_SECRET`

Make sure to set them before using.

Optionally, setting those two variables allows you access to private accounts which your account has access to:

- `RT_ACCESS_TOKEN`
- `RT_ACCESS_TOKEN_SECRET`

It is also recommended to have memcached installed so tweet requests will be cached
for a short while.

- `RT_MEMCACHED_SERVERS` (separate multiple servers with comma)

Alternatively, create a config file. Read `config/config_init.rb` for hints.


To do
-----
- expanded `t.co` links
- twitter card viewer

License
-------

    Copyright 2014 edogawaconan <me@myconan.net>

    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted, provided that the above
    copyright notice and this permission notice appear in all copies.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
    WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
    ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
    ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
    OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.