This repository has been archived by the owner on Mar 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
digvan/Tweet-Bot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Copyright (c) 2010 <Khashayar Dehdashtinejad> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Requirements 0-Python 2.6 or higher ( if not try to import simplejson instead od json) 1-Redis 2-Twitter python library (included) 3-Bitly python library (included) 4-sign up for youtube developer key (http://code.google.com/apis/youtube/dashboard/) 5- download and install python-gdata-client (http://code.google.com/p/gdata-python-client/) What you need to install? try to fix these variables in the source code BITLY_API = 'YOUR BITLY API' USERNAME = "YOUR TWITTER USERNAME" PASSWORD = "YOUR TWITTER PASSWORD" YOUTUBE_API = 'YOUR YOUTUBE DEVELOPER KEY' YOUTUBE_USERNAME_OF_RET = "USERNAME OF WHO YOU WANT TO DOWNLOAD HIS/HER FEED" and then go to the http://developer.yahoo.com/yql/console/ then in the console type select * from rss where url = "YOUR URL" and get the result in json format then copy the REST query and paste it to RSS variable in the source code try to fix the fields in you interested in ReterieveNews() Let me know if you want more help
About
It can get the RSS and post it to twitter
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published