Skip to content
Generate feeds from social networks
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
routes
.gitignore
.nvmrc
LICENSE.md
Procfile
README.md
app.js
config.js
package-lock.json
package.json

README.md

Requirements

Development

$ git clone https://github.com/AbeEstrada/socialfeed.git
$ cd socialfeed
$ npm install
$ npm start

Deploy

Up

Follow up installation process.

Create a new file up.json

{
  "name": "socialfeed",
  "environment": {
    "TWITTER_CONSUMER_KEY": "",
    "TWITTER_CONSUMER_SECRET": "",
    "TWITTER_ACCESS_TOKEN": "",
    "TWITTER_ACCESS_TOKEN_SECRET": ""
  }
}
$ up

Now

Follow now installation process.

Create a new file now.json

{
  "env": {
    "TWITTER_CONSUMER_KEY": "",
    "TWITTER_CONSUMER_SECRET": "",
    "TWITTER_ACCESS_TOKEN": "",
    "TWITTER_ACCESS_TOKEN_SECRET": ""
  }
}
$ now

Heroku

Follow heroku installation process.

$ heroku create

# Add config vars
$ heroku config:set TWITTER_CONSUMER_KEY=
$ heroku config:set TWITTER_CONSUMER_SECRET=
$ heroku config:set TWITTER_ACCESS_TOKEN=
$ heroku config:set TWITTER_ACCESS_TOKEN_SECRET=

$ git push heroku master
$ heroku open

Google App Engine

Follow gcloud installation process.

Create a new file app.yaml

runtime: nodejs8
env_variables:
  TWITTER_CONSUMER_KEY: ""
  TWITTER_CONSUMER_SECRET: ""
  TWITTER_ACCESS_TOKEN: ""
  TWITTER_ACCESS_TOKEN_SECRET: ""
$ gcloud app deploy

Usage

Twitter

Route: /twitter/:username

Eg: https://domain.com/twitter/jack

Output:

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title><![CDATA[Twitter • jack (@jack)]]></title>
    <description><![CDATA[]]></description>
    <link>https://twitter.com/jack/</link>
    <generator>RSS for Node</generator>
    <lastBuildDate>Thu, 30 Aug 2018 21:26:26 GMT</lastBuildDate>
    <pubDate>Thu, 30 Aug 2018 21:10:26 GMT</pubDate>
    <item>
      <title><![CDATA[New policy for legislative iss...]]></title>
      <description><![CDATA[New policy for legislative issue ads, with exemptions for news organizations. https://t.co/4v8SFZ0SMk]]></description>
      <link>https://twitter.com/jack/status/1035273560971915265</link>
      <guid isPermaLink="true">https://twitter.com/jack/status/1035273560971915265</guid>
      <pubDate>Thu, 30 Aug 2018 21:10:26 GMT</pubDate>
    </item>
  </channel>
</rss>

Instagram

Route: /instagram/:username

Eg: https://domain.com/instagram/hilaryduff

Output:

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title><![CDATA[Instagram • Hilary Duff (@hilaryduff)]]></title>
    <description />
    <link>https://www.instagram.com/hilaryduff/</link>
    <generator>RSS for Node</generator>
    <lastBuildDate>Thu, 30 Aug 2018 21:28:25 GMT</lastBuildDate>
    <pubDate>Wed, 29 Aug 2018 03:54:19 GMT</pubDate>
    <item>
      <title><![CDATA[[Video] Shots shots shots..... jk jk mines a green juice  lovely din with @starmandarren @suttonlenore and @debimazar @abckitchen so delishhhhh.]]></title>
      <description><![CDATA[<img referrerpolicy="no-referrer" src="https://scontent-sea1-1.cdninstagram.com/vp/79e6933dd6890067b54ba62d3341c1e3/5B8ACDB2/t51.2885-15/e15/39376584_1857390267676380_6871329129589899264_n.jpg">]]></description>
      <link>https://www.instagram.com/p/BnC6b2rnt0q/</link>
      <guid isPermaLink="true">https://www.instagram.com/p/BnC6b2rnt0q/</guid>
      <pubDate>Wed, 29 Aug 2018 03:54:19 GMT</pubDate>
    </item>
  </channel>
</rss>

With code from RSSHub

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.