-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(route): add route for BBC Twitter accounts #15275
base: master
Are you sure you want to change the base?
Conversation
BBC Twitter accounts may contain feeds different from those available on bbc.co.uk or similar. For instance, the Breaking News feed on Twitter contains fewer posts and is more relevant for just major news. This route uses Twitter Feed fetched from BBC articles, and then uses the existing BBC route to fetch the articles and add their content on the `description`, which avoids having to open the URLs. It also makes use of the `twitter/user` route as a base route to fetch the tweets in the first place.
Successfully generated as following: http://localhost:1200/twitter/bbc-user/BBCBreaking - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCWorld - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCNews - Failed ❌
|
Successfully generated as following: http://localhost:1200/twitter/bbc-user/BBCBreaking - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCWorld - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCNews - Failed ❌
|
Successfully generated as following: http://localhost:1200/twitter/bbc-user/BBCBreaking - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCWorld - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCNews - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCNewsAsia - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCAfrica - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCBusiness - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCLondonNews - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCNorthAmerica - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCSport - Failed ❌
|
Locally seems to work just fine - I assume all the 503 errors here are related to Twitter API / request limitations? Someone more knowledgeable might know |
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days. |
keep alive please |
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days. |
alive |
Successfully generated as following: http://localhost:1200/twitter/bbc-user/BBCBreaking - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCWorld - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCNews - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCNewsAsia - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCAfrica - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCBusiness - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCLondonNews - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCNorthAmerica - Failed ❌
http://localhost:1200/twitter/bbc-user/BBCSport - Failed ❌
|
not stale |
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days. |
Not stale |
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days. |
not stale |
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days. |
not stale |
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days. |
not stale |
We have |
yes it's due to the Twitter API limit. |
good question! I have been avoiding using By creating a new feed instead of only using the Twitter one, we get the best of both worlds: we pull in verified BBC articles for reliability, while keeping the feed streamlined and to the point, much like a curated BBC RSS feed with the immediacy of Twitter. |
8ef9ae7
to
d224d67
Compare
got it. But I still think it should belong to |
ah! I had misunderstood your original point. Will make the changes, bear with :) |
Involved Issue / 该 PR 相关 Issue
N/A
Example for the Proposed Route(s) / 路由地址示例
New RSS Route Checklist / 新 RSS 路由检查表
Puppeteer
Note / 说明
Reason for adding route
BBC Twitter accounts may contain feeds different from those available on bbc.co.uk or similar.
For instance, the Breaking News feed on Twitter contains fewer posts and is more relevant for just major news.
Based on existing routes
This route uses Twitter Feed fetched from matching BBC accounts, and then uses the existing BBC route to fetch the articles and add their content on the
description
, which avoids having to open the URLs. It also makes use of thetwitter/user
route as a base route to fetch the tweets in the first place.Note this only works on BBC Twitter accounts that posts BBC Articles, such as twitter.com/BBCBreaking, twitter.com/BBCNews, twitter.com/BBCWorld, etc. More can be seen here: https://twitter.com/search?q=BBC&f=user