Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

Commit

Permalink
fix card tweeting, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
sedenardi committed May 1, 2017
1 parent 37d6060 commit bff3ba9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This is a fork of [rss-tweet](https://github.com/sedenardi/rss-tweet).
- [@reuters_once](https://twitter.com/reuters_once) - Reuters
- [@aj_once](https://twitter.com/aj_once) - Al Jazeera
- [@politico_once](https://twitter.com/politico_once) - Politico
- [@bloomberg_once](https://twitter.com/bloomberg_once) - Bloomberg
- ~~[@bloomberg_once](https://twitter.com/bloomberg_once) - Bloomberg~~ Suspended by Twitter for "impersonation". Their support is unresponsive.
- [@bizweek_once](https://twitter.com/bizweek_once) - Businessweek

Tweet at [@srednass](https://twitter.com/srednass) or add an issue here to suggest a new publication's feed.
2 changes: 1 addition & 1 deletion src/FeedItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ FeedItem.parse = function(rawItem) {
const expandedUrl = rawItem.entities.urls[0].expanded_url;
let urlAction = Promise.resolve(expandedUrl);
if (expandedUrl.indexOf(rawItem.id_str) !== -1) {
return req.getCardUrl(expandedUrl);
urlAction = req.getCardUrl(expandedUrl);
}
return urlAction.then((url) => {
if (!url) { return Promise.resolve(null); }
Expand Down

0 comments on commit bff3ba9

Please sign in to comment.