-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
51 lines (36 loc) · 1.76 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
RSS to twitter
* rsstotwitter is a very simple tool to update twitter accounts from RSS feeds.
It is written in python and licensed under GPL
* Author: Luis Cañas Díaz <[email protected]>
* rsstotwitter.py default.cfg
* example of configuration file.
(the parameter include_title is optional)
[Configuration]
consumer_key=your_consumer_key
consumer_secret=your_consumer_secret
access_token_key=your_access_token_key
access_token_secret=your_access_token_secret
feed_url=http://libresoft.es/ourplanet/daily-planet/RSS
include_title=Some text before the entry content here
* need help?:
rsstotwitter.py --help
* dependencies
python-twitter and its dependencies
* Problems with the authentication?
Do you see the error “Error, the message could not be posted!”? During September
2010 the twitter platform cut off the basic authentication method and now it is
mandatory to use oAuth. If that’s your case you’ll need to install the latest
version of python-twitter, see instructions below.
* Installing the last version of python-twitter
- To install it have a look at the instructions here , I’ve tested the
a936121dfd commit (Aug 24 2010)
* Setting up the twitter access data
- Go to the url http://twitter.com/oauth_clients and register a new application.
You’ll have to create it with a name application, use your imagination
- In the previous step you get a consumer key and a consumer secret. Use them in
the python script get_access_token.py which is included in the python-twitter
code
- After executing the script get_access_token.py you’ll need to follow the
instructions shown by the script to get a pincode from twitter
- You should have now the access_token_key and the access_token_secret
parameters. Include them in the configuration file