xlight / twitter-rss

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:PHP 100.0%