jdelamater99 / twitter-rss-parser Goto Github PK
View Code? Open in Web Editor NEWConvert Twitter API v1.1 JSON to RSS
License: Other
Convert Twitter API v1.1 JSON to RSS
License: Other
Question from @patrickbootscec in #8 (comment) that should be a separate issue:
I was looking at the JSON that I guess the Twitter API is providing us and I noticed that there's a condition for "expanded_url" and "url" if the Tweet has a link in it. The documentation explains these differences, https://developer.twitter.com/en/docs/tco and also explains the "t.co" formats.
For the Twitter to RSS Parser, the function "processString" appears to handle this sort of thing:
Twitter-RSS-Parser/functions.php
Twitter-RSS-Parser/functions.php
Line 69 in c159d16
Is there a way to use the "expanded_url" condition for the text displayed?
If I am polling a list or search that has no results I see errors in the apache2 logs like this -
[Sun Sep 29 19:03:33 2013] [error] [client XXX.XXX.XXX.XXX] PHP Notice: Undefined offset: 0 in /var/www/twitter-rss-parser/list.php on line 29, referer: https://URL/twitter-rss-parser/?list=LISTNAME&owner=USERNAME
[Sun Sep 29 19:22:40 2013] [error] [client XXX.XXX.XXX.XXX] PHP Notice: Undefined offset: 0 in /var/www/twitter-rss-parser/search.php on line 30, referer: https://URL/twitter-rss-parser/?q=%23SEARCHQUERY
HTH
Hello, I've downloaded and used the Twitter to RSS Parser with great success, but I was wondering if certain functionality is possible. I've noticed after about 12 or 13 words the rest of a longer Tweet will get cut off and appended with an ellipsis.
Is there any way to include the full Tweet? Also, is it possible to embed Twitter images within the RSS description with a change to these files?
Thanks for making the script, @jdelamater99, @craywolf, and @kuc since it does work better than all the others I've tried.
Hello.
I've used your code to make a derivative work, which I am about to post it as a gist.
But first I want to know exactly what license your work is under. I can see that it is one of the Creative Commons licenses, but it does not say which one. Can you please update the license page and specify what variant of CC it is?
Thank you!
Could shortened url resolving be added using this ?
http://www.internoetics.com/2012/11/12/resolve-short-urls-to-their-destination-url-php-api/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.