Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 99

mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
06/26/13 09:03 AM (12 years ago)

New Twitter API to RSS

I've needed to upgrade my apps due to Twitter depreciating rss access from the new 1.1 api. Also, based on this post I've found a solution for those who want to get twitter timeline feeds. https://www.buzztouch.com/forum/thread.php?tid=15F75589FB2D9CF51F4B5B0 ---- Solution ---- Here is a solution to the Twitter API and RSS. On Github I've found a script by thomasyung. It converts the Twitter JSON to RSS. https://github.com/thomasyung/twitter-json-to-rss 1. Sign up as a developer over at dev.twitter.com and get your app keys. 2. Download the script 3. Open the twitter_auth.php fill in the details 4. Upload to your web server. It must be able to handle PHP 5.3+ I have an old Hostgator account and because my account isnt the latest (after May 30th) I have to add an .htaccess file so that it will handle the script which requires PHP 5.3+ # Use PHP 5.3 AddType application/x-httpd-php53 .php 5. Us the RD Simple RSS or whatever RSS plugin that you have and add this url to your Buzztouch Control panel: http://[server_name]/twitter_json_to_rss.php?screen_name=[user_name] The xml elements will be: item, title, description, link Good luck!
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
06/26/13 11:22 AM (12 years ago)
Thanks for the share! Valuable stuff ;)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/26/13 01:17 PM (12 years ago)
Cool! Thanks!!! Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.