Skip to content

Quick and dirty PHP script to turn a Twitter feed into an RSS feed using Twitter's v2 API

Notifications You must be signed in to change notification settings

xlight/twitter-rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitter to RSS

Quick and dirty PHP script that turns a given Twitter feed into a RSS feed using Twitter's API v2 (the free version!)

Does some basic link expansion and handling, as well as media preview images for pictures and videos.

Call it from a browser like: http://yourserver/yourpath?[numerictwitterid]

The Twitter ID must be numeric. You can look up the numeric ID for a Twitter username at sites like https://tweeterid.com/

Requirements

  • PHP
  • PHP cURL
  • A Twitter Developer Account

Configuration

Copy the config-example.php to config.php

Update the bearer_token value with what was created in your Twitter developer portal

License is Creative Commons

About

Quick and dirty PHP script to turn a Twitter feed into an RSS feed using Twitter's v2 API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages