Coder Social home page Coder Social logo

tweetledee / tweetledee Goto Github PK

View Code? Open in Web Editor NEW
209.0 24.0 36.0 750 KB

A PHP library that provides an incredibly easy way to access Twitter data as JSON or RSS feed by URL or standard CLI syntax.

Home Page: http://tweetledee.github.io/tweetledee/

License: MIT License

PHP 98.90% Python 0.59% Ruby 0.41% Dockerfile 0.10%
rss-feed twitter twitter-json twitter-api feed-reader feed

tweetledee's Introduction

Tweetledee

A PHP library that provides an incredibly easy way to access Twitter data as JSON, pretty printed JSON, or RSS feeds by URL or standard command line syntax. The Tweetledee files include caching to avoid exceeding the Twitter API v1.1 rate limits (see caveats in the documentation!).

Obsolete

As of May 2023 users report that the request on the v1 twitter API don't work anymore so Tweetledee is now dead.

Documentation

Current Release

  • 0.5.3 : Fixed "user_timeline connection failure". Set Twitter username as author of a rss item.

Next Release

  • Use https for avatar img src.

Changes

  • 0.5.2 : Quoted tweets can be displayed with a rl>=1 query parameter in the URL. All images for the tweet are loaded now.
  • 0.5.1 : Improved hastag display.
  • 0.5.0 : First release as the tweetledee organization. Thanks to Christopher Simpkins for encouraging other people to continue with the project. Now the full tweet is displayed following the 280 characters from twitter. Media is loaded as https. Added Some reference dockerfiles.
  • 0.4.2 : added support for inline images in all RSS scripts issue #51. A big thanks to Vinh Nguyen for his pull request to add support for this feature!
  • 0.4.1 : added support for JSON pretty printing in PHP versions 5.3+ (from 5.4+ previously) issue #40. Thanks much to Martín Lucas Golini @SpartanJ for his new pretty printing functions.
  • 0.4.0 : added caching to all Tweetledee files with default 90 sec duration. This default cache interval can be changed with the cache_interval URL parameter (with a value in seconds). Great big thanks to Christian Varga (@levymetal) for his contributions to this update! The non-cached versions of the files from v0.3.6 have been renamed with an appended _nocache (e.g. userrss.php > userrss_nocache.php) for anyone who would like to implement their own caching.
  • 0.3.6 : bug fix for multi-parameter search query exception bug issue #30. Thanks much for the issue report @adjeD!
  • 0.3.5 : bug fix for Twitter search filters issue #28. Thanks much for the issue report @molis83!
  • 0.3.4 : added Python and Ruby wrappers for the Tweetledee files
  • 0.3.3 : bug fixes for issue #15 & issue #16. Thanks much for the contributions from @jjschwartz, @kabookey, and @mikeklimczak.
  • 0.3.2 : bug fixes for issue #14
  • 0.3.1 : Updated all standard JSON files with cross site access to your Twitter JSON data from client side JavaScript code (sets the Access-Control-Allow-Origin header to accept all connections, i.e. cross origin resource sharing). Defaults to off. Set the flag $TLD_JS = 1 in the file to activate this capability.
  • 0.3.0 : You can now access Tweetledee from the command line locally or remotely via SSH and pipe the output to any application. Data is returned via the standard output stream when you access files with a terminal. Tweetledee will parse the parameters as standard command line switches. For single character parameters use short switches -q and for multiple character parameters use long switches --user.
  • 0.2.9 : Added Twitter user lists RSS feeds listsrss.php, JSON listsjson.php, pretty printed JSON listsjson_pp.php

The 1.5 Minute Guide to a Successful Install

You will need the following:

  • Access via URL: PHP version 5.3 or higher

  • Access via command line: PHP version 5.3 or higher

  • libcurl installed (provides cURL - http://curl.haxx.se/libcurl/)

  • A Twitter application account from which you will obtain the:

    1. consumer key
    2. consumer secret
    3. access key
    4. access secret

3-Step Installation instructions:

  1. Open the file on the path tweetledee > tldlib > keys > tweetledee_keys.php in any text editor and enter the information that you obtained from your Twitter app in the corresponding fields. Leave the single quotes around the alphanumeric strings that you enter.

  2. Upload the 'tweetledee' directory (that is located in the directory where this README file resides) to the public facing directory on your web server. On many servers, this is the public_html directory

  3. Kick the tires with the following test (it gives you a user timeline RSS feed for your account): http://[yourdomain]/tweetledee/userrss.php

That was easy... Go crazy, be good, have fun.

What You Get

Twitter RSS Feeds

Favorites RSS Feed [favoritesrss.php] + [favoritesrss_nocache.php]
Home Timeline RSS Feed [homerss.php] + [homerss_nocache.php]
User Lists RSS Feed [listsrss.php] + [listrss_nocache.php]
User Timeline RSS Feed [userrss.php] + [userrss_nocache.php]
Search RSS Feed [searchrss.php] + [searchrss_nocache.php]

Twitter JSON

Favorites JSON [favoritesjson.php] + [favoritesjson_nocache.php]
Home Timeline JSON [homejson.php] + [homejson_nocache.php]
User Lists JSON [listsjson.php] + [listsjson_nocache.php]
User Timeline JSON [userjson.php] + [userjson_nocache.php]
Search JSON [searchjson.php] + + [searchjson_nocache.php]

Pretty Printed JSON

Favorites Pretty Printed JSON [favoritesjson_pp.php] + [favoritesjson_pp_nocache.php]
Home Timeline Pretty Printed JSON [homejson_pp.php] + [homejson_pp_nocache.php]
User Lists Pretty Printed JSON [listsjson_pp.php] + [listsjson_pp_nocache.php]
User Timeline Pretty Printed JSON [userjson_pp.php] + [userjson_pp_nocache.php]
Search Pretty Printed JSON [searchjson_pp.php] + [searchjson_pp_nocache.php]

Usage

Tweetledee Usage Examples

Bugs & Questions

If you find a bug, please post it as a new issue on the GitHub repository with this information in your report.

Looking for support? Check this page.

Contribute

If you would like to contribute to the project, have at it. Fork the Tweetledee project, include your changes, and submit a pull request back to the main repository.

License

MIT License - see the LICENSE.txt file in the source distribution

tweetledee's People

Contributors

chrissimpkins avatar georgedorn avatar levymetal avatar magefroh avatar riduidel avatar rodrigoaguilera avatar spartanj avatar vinhdizzo avatar wheany avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tweetledee's Issues

Installation Issue

Hi,
I have a issue on installation in order to get twitter RSS feed.

I download the zip file and change the key from twitter application and then upload tweetledee folder to my ftp server. I am not sure if it is the same as a web server. I also try dropbox and save under public folder, but it still doesn't work.

I insert my domain name and search query as below, but it doesn't work.
http://akuiskitchen/tweetledee/searchrss.php?q=san+francisco

I am not sure what libcurl is and also don't know how to use it...

Could you provide me detail explanation or step by step specifically on how to get this done?

BTW...I am not engineer, so please use simple language so I can understand you well :):)

Thanks much,

Search Filters aren't working

Thanks Chris for your great work on Tweetledee

I've found a little bug (or feature?) The twitter search filters aren't working. Twitter has some filters that can be included or excluded from the search.

Example:
%23test%20-RT%20filter%3Aimages&rt=recent
This should only give tweets with images (filter)

%23test%20-RT%20-filter%3Amentions&rt=recent
This should exclude mentions (-filter)

Filters can be:
links
mentions
images
videos

The filters don't seem to work in the searchrss.php, they do work in the official twitter search. Can these be added?

RSS Feeds Presentation

Hi Charley.

It's Angelo from Twitter. Sorry I did not get in-touch sooner. I unfortunately do a lot of works. In either case here is my request.

I have successfully installed the script here, http://crsrecruitment.eu/twitterfeed/userrss.php.

The RSS feed would be primarily used in-conduction with Hootsuit to feed it into a Facebook business page. As it stands Twitter and Facebook business pages are not compatible. So the RSS feed would be a work-around.

I have been trying to find a solution for this and your script seams to offer something I can host, which is great!

However, I want to be able to adjust the description of the feed. As you can see the feed reads out,

I want to be able to adjust the description of the twitter feed. It currently publishes this:

[CRSeuRECRUIT] Glen Lindsay on Twitter http://t.co/J8ZQ99XdQf

However, I want to be able to remove the name and simply publish what's on the link, like:

"I'm recruiting for: Regional Compliance Specialist - Bristol http://goo.gl/HsigOr on http://reed.co.uk #lovemondays"

This would make better sense and it would show up better on the Facebook business page.

Kind regards,

http:// wrapper is disabled in the server configuration

Hi,

this error is appearing on my logs and tweetledee doesn't seem to be working.
I've already changed allow_url_fopen=1 but it doesn't seem to be making any difference.

here is what's happearing on the log file:

[24-Mar-2017 11:52:30 UTC] PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/mediaworks/public_
html/content/themes/mediaworks/templates/block-social-wall.php on line 2
[24-Mar-2017 11:52:30 UTC] PHP Warning: file_get_contents(http://www.mediaworks.ie/tweetledee/userjson.php?c=15&xrp=1&xrt=1): failed to open stream: no suita
ble wrapper could be found in /home/mediaworks/public_html/content/themes/mediaworks/templates/block-social-wall.php on line 2
[24-Mar-2017 11:53:29 UTC] PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/mediaworks/public_
html/content/themes/mediaworks/templates/block-social-wall.php on line 2

Can you help solving this issue?

Cheers,
Salvo

Getting an error trying to set up tweeledee. (Undefined constant __DIR__)

After tweeting to pixsy, I was told to open an issue here.
Here is the output with debug on for usersrss.php

Notice: Use of undefined constant DIR - assumed 'DIR' in /home/a8143770/public_html/tweetledee/tldlib/tmhOAuth.php on line 68

connect() timed out!verify_credentials connection failure

Getting error of failed connection to api.twitter.com

I've been using Tweetledee for my website since Twitter updated the API to version 1.1, and it's been working fine. The other day, without warning, it stopped working and visiting the /tweetledee/userrss.php, it gives the error "Couldn't resolve host 'api.twitter.com'verify_credentials connection failure".

Please could you help?

Thanks.

userrss.php gives a couple error messages

Issue Comment #1:

When running at linux cli using php: php userrss.php
yields:

    <lastBuildDate>PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/tweetledee/homerss.php on line 157

Fri, 07 Feb 2014 06:18:43 +0000

PHP Fatal error: Call to undefined function mb_internal_encoding() in /var/www/html/tweetledee/tldlib/tmhUtilities.php on line 45

Issue Comment #2:
When web-browsing userrss.php:
yields:

This page contains the following errors:

error on line 18 at column 18: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Fri, 07 Feb 2014 06:08:24 +0000 en Twitter home timeline for itlconsulting Twitter home timeline updates for ITL-Consulting / itlconsulting http://www.twitter.com/itlconsulting 960 Tweetledee Personal Twitter home timeline for itlconsulting http://www.twitter.com/itlconsulting http://pbs.twimg.com/profile_images/1670741634/tux_normal.jpg

Add since_id parameter

limits returned tweets to those since the index tweet (designated with since_id).

  • generally useful?
  • look into support across data types
  • implementation as URL parameter
  • implementation as CLI argument

requested by @kirapao on Twitter

searchrss.php renders nothing after first item-tag (Heroku hosted files)

I'm running tweetledee on heroku. The setup seems to work fine generally, but the rss has some problem with the output.

Json: works fine:
tweetledee.herokuapp.com/searchjson.php?q=katt

Rss: stops rendering after first itemtag on most searches
view-source:http://tweetledee.herokuapp.com/searchrss.php?q=katt

Sample source:


<atom:link href="tweetledee.herokuapp.com/searchrss.php" rel="self" type="application/rss+xml" />
Tue, 23 Jul 2013 20:50:20 +0000
en
<title>Twitter search for "katt"</title>

A Twitter search for the query "katt" with the mixed search result type.

http://www.twitter.com/search/?q=katt
960
Tweetledee
Personal

<title>Twitter search for "katt"</title>
http://www.twitter.com/Sprakvard
http://www.twitter.com/search/?q=katt

couldn't connect to hostverify_credentials connection failure

Put twitter conversation into GitHub as requested.
Thanks for taking to time to consider this.

hi thx for tweetledee. Use .0334 and keep getting error couldn't connect to hostverify_credentials ... on http://www.aaintveld.com/tweetledee/userrss.php

pixsy ‏@pixsied 10 Oct
@humops thanks for reporting it. What file are you using?

Arie in 't Veld ‏@humops 23h
@pixsied Hi. version 0.3.3 of your package. Thanks for looking into this.

pixsy ‏@pixsied 16h
@humops seems to be a communication issue between your server and the twitter servers during the OAuth attempt. Is cURL installed?

Arie in 't Veld ‏@humops 10h
@pixsied Thx again. php.ini says: extension=curl.so Seems ok then? Curl was disabled before, that got a different error msg. Puzzling...

Searches with hashtag problem

Hi Chris,

I love your software.

When I do search with a hashtag in it I get an error. For example, if I do a search on searchrss.php?q=#google&rt=recent I get "tweet_search connection failure".

I think this may be because of the issue to do with the way the # character is dealt with on the web.

I have done some work on caching tweetledee pages.

Best regards,

Martyn

Needs support for favorites

Favorites are how I mark things to be read later. Should be just another API call that collects favorited tweets instead of tweets/retweets/etc.

Custom user template RSS files

Multiple user requests for customization of the RSS templating. Will try to pull together an easy way to customize these files.

URL Fix for href in Atom output

fix concatenation of the Atom href URL link :

<atom:link href="http://documents.pixsy.net . '/' . userrss.php?" rel="self" type="application/rss+xml" />

Exceeded Twitter API rate limit

Hello,

I'm using Tweetledee to print messages in a thermal printer using Arduino.
The problem that I'm having is that I'm being blocked for trying to see the "statuses/user_timeline" every 12 seconds, this should be about 75 times in 15min. According to Twitter rate limits I should be able to do it 180 times every 15min. What is happening?
I'm using a 12 seconds delay and also using cache to avoid calling it more frequently than every 10 seconds (as a second protection method):

tweetledee/userjson.php?c=1&cache_interval=10&user=printmessage

If I increase the caching to 80s I'll not get blocked. I'm just using this program and just calling the function above and nothing else.
Am I using the wrong function? What am I doing wrong?

Thanks for the support,

Daniel Holanda Noronha

SearchRSS Twitter operator errors

Tried v0.3.5 searchrss using the twitter operators and got some errors..

tweetledee/searchrss.php?q=keyword&rt=recent&c=1 (using rt en c)

This page contains the following errors:

error on line 3 at column 90: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.

tweetledee/searchrss.php?q=keyword%20near%3Aamsterdam%20within%3A25km (operators)

tweet_search connection failure

tweetledee/searchrss.php?q=keyword%20lang%3Anl 

does work oddly enough..

I did edit the feed output a bit but that shouldn't be the problem.

RSS Pages Blank when run from OS X 10.6 or 10.7 server

I have setup the software and made sure the JSON version worked fine at http://jason.lothlorien.net/tweetledee, however I get back a blank page with userrss.php. I tested on an OS X 10.6 and 10.7 server with the same results. I turned on debugging and I get the same exact output. It would appear all of the variables are left in the resulting page without substitution on the RSS output.

I have also tested from the command line, and userjson.php works fine, but userrss.php returns the error:
PHP Notice: Undefined index: QUERY_STRING in /Users/jason/Sites/tweetledee/userrss.php on line 168

I tried the fix mentioned at http://piwigo.org/forum/viewtopic.php?pid=120587 for this same error, which fixed the QUERY_STRING issue by replacing it with a blank if not present, but still the page renders with the variable names instead of values.

error while checking "http://[yourdomain]/tweetledee/homejson.php" and "http://[yourdomain]/tweetledee/userrss.php"

I download tweetledee zip file from http://chrissimpkins.github.io/tweetledee/usage.html and locate in D drive on my PC
tweetle version:0.4.2 (chrissimpkins-tweetledee-v0.4.2-1-gc63daca.zip)

After finishing all the instructions given by you.I try Check "http://[yourdomain]/tweetledee/userrss.php"
and I got The error.The error is listed bellow

XML Parsing Error: syntax error
Location: http://example.com/tweetledee/homejson.php
Line Number 1, Column 1:
<!doctype html>
^

Mimic Twitter API v1

I would be nice to see this project mimic the Twitter v1 api, as much as possible.
Same urls, parameters and stuff like that.

This would help everyone who had a really cool twitter app, that suddenly stopped working. Then they just change the base-url and their app works again.

Keep on the good work!!!

New maintainership structure

A discussion happened here
#56
about how the current maintainer can no longer be in charge so I offered to help.

We think the best way forward is to create a "tweetledee" org on github and transfer the permissions.

Let's hope @MageFroh joins later.

images in rss

Hello Chris,

When I use the Tweetledee PHP-RSS scripts, I have a problem with item images. I see the users’ profile image/avatar as the story image in an RSS reader (Feedly).. I would like to have images that are displayed in Twitter displayed with feed items. Any tips for making this work? Twitter Media Entities have image URL’s, (https://dev.twitter.com/docs/entities). Could these be used to define the item image in media RSS?

SearchRSS with inline images

Hi Chris,

I'm trying to add the twitter images to the searchrss.php of your project.

In the seachjason.php i see that i have to use the 'media_url' in 'media':
http://www.molwebs.nl/twt/searchjson.php?q=%23Salaai%20filter%3Aimages

But now my problem. I don't now how to fetch this 'media_url' in the searchrss.php:

This is what i tried:

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
    <channel>
        <atom:link href="<?php echo $my_domain ?><?php echo $thequery ?>" rel="self" type="application/rss+xml" />
        <lastBuildDate><?php echo date(DATE_RSS); ?></lastBuildDate>
        <language>en</language>
        <title><?php echo $feedTitle; ?></title>
        <description>A Twitter search for the query "<?php echo $query; ?>" with the <?php echo $result_type?> search result type</description>
        <link>http://www.twitter.com/search/?q=<?php echo $query; ?></link>
        <ttl>960</ttl>
        <generator>Tweetledee</generator>
        <category>Personal</category>
        <image>
        <title><?php echo $feedTitle; ?></title>
        <link>http://www.twitter.com/<?php echo $twitterName; ?></link>
        <url>http://www.twitter.com/search/?q=<?php echo $query; ?></url>
        </image>
        <?php foreach ($searchResultsObj['statuses'] as $currentitem) : ?>
            <item>
                 <?php
                 $parsedTweet = tmhUtilities::entify_with_options(
                        objectToArray($currentitem),
                        array(
                            'target' => 'blank',
                        )
                 );

                if (isset($currentitem['retweeted_status'])) :
                    $avatar = $currentitem['retweeted_status']['user']['profile_image_url'];
                    $rt = '&nbsp;&nbsp;&nbsp;&nbsp;[<em style="font-size:smaller;">Retweeted by ' . $currentitem['user']['screen_name'] . ' <a href=\'http://twitter.com/' . $currentitem['user']['screen_name'] . '\'>@' . $currentitem['user']['screen_name'] . '</a></em>]';
                    $tweeter =  $currentitem['retweeted_status']['user']['screen_name'];
                    $fullname = $currentitem['retweeted_status']['user']['name'];
                    $tweetTitle = $currentitem['retweeted_status']['text'];
                else :
                    $avatar = $currentitem['user']['profile_image_url'];
                    $rt = '';
                    $tweeter = $currentitem['user']['screen_name'];
                    $fullname = $currentitem['user']['name'];
                    $tweetTitle = $currentitem['text'];
                    $picurl = $currentitem['media']['media_url'];

               endif;
                ?>
                <title>[<?php echo $tweeter; ?>] <?php echo $tweetTitle; ?> </title>
                <pubDate><?php echo reformatDate($currentitem['created_at']); ?></pubDate>
                <link>https://twitter.com/<?php echo $currentitem['user']['screen_name'] ?>/statuses/<?php echo $currentitem['id_str']; ?></link>
                <guid isPermaLink='false'><?php echo $currentitem['id_str']; ?></guid>

                <description>
                    <![CDATA[
                        <div style='float:left;margin: 0 6px 6px 0;'>
                            <a href='https://twitter.com/<?php echo $tweeter ?>/statuses/<?php echo $currentitem['id_str']; ?>' border=0 target='blank'>
                                <img src='<?php echo $avatar; ?>' border=0 />
                            </a>
                        </div>
                        <strong><?php echo $fullname; ?></strong> <a href='https://twitter.com/<?php echo $tweeter; ?>' target='blank'>@<?php echo $tweeter;?></a><?php echo $rt ?><br />
                        <?php echo $parsedTweet; ?>
                    ]]>
               </description>
               <media:group> 
                <media:content url="<?php echo $picurl; ?>" type="image/jpeg" />
                <media:title><?php echo $tweetTitle; ?></media:title>
                <media:description><?php echo $tweetTitle; ?></media:description>
               </media:group>                
            </item>
        <?php endforeach; ?>
    </channel>
</rss>

This results in:

<b>Notice</b>
: Undefined index: media in
<b>
/home/rhegjqyb/domains/molwebs.nl/public_html/twt/imgsrc.php
</b>
on line
<b>231</b>
<br/>

See: http://www.molwebs.nl/twt/imgsrc.php?q=%23Salaai%20filter%3Aimages

The description and title are okay.
I don't see any of the other indexes defined in this file ( ['user'] or ['text'] )

Any chance you can point me in the right direction? As allready said yesterday: Sorry, i'm no programmer, but i like to experiment with this.

Add a file updater

Likely will be used through SSH/CLI. Working out best approach.

Would be nice to provide a web page interface with update button for users who would prefer this...

Searching for string like #V or #T

Hi Chris,

When I search for %23V or %23T I am getting tweets with any word beginning with V or T rather than exact matches. These are stock tickers, BTW. I also tried searching for %23V%20 and %23V  but that didn't seem to help.

Do you think it is possible to search for one or two letter phrases? Thanks.

Twitter Limit Exceeded, How do you cache JSON request to server to prevent reaching max limit?

I am using this Jquery function to load the JSON feed onto an page.

$(document).ready(function(){ $.getJSON( "/tweetledee/userjson.php?c=10&user=HeroGreg&xrp=1&xrt=1", function(obj) { $.each(obj, function(key, value) { $("#feed").append("<li>"+value.text+"</li><li>"+value.retweet_count+"</li><li>"+value.favorite_count+"</li><li>"+value.user.name+"</li>"); }); } }); });

I am hoping to cache this request so that I don't reach the maximum number of requests. The PHP file that I am requesting to load the feed is here: https://github.com/chrissimpkins/tweetledee/blob/master/tweetledee/userjson.php

Is there a way to alter that file (or another PHP file in Tweetledee) to cache requests for a certain amount of time?

Here is an example of way it can be done (apparently) although I am having trouble adapting his code to work with my current setup. http://christianvarga.com/how-to-get-public-feeds-using-twitters-v1-1-api/

Thanks

Link to 1st URL contained in tweet

Hi again,

This time is for a feature request:
Is it possible to add in section the link to the first URL contained in each tweet when it exists... OR add it in another section to facilitate the extraction of that URL. ?

Thanks

Response code 0.

Hi Chris,
I was getting response code 0 all the time with OAuth module.
On Debugging, found out that setting 'curl_ssl_verifypeer' = false is the cause behind it.
For me , it worked by removing that assignment.
Please fix the same in repo as well so that other's don't face the issue.

Display pictures in twitter feed?

Hi,

Is there an option to display pictures as opposed to the twitter url to the picture in the twitter feed generated by tweetledee? Thanks.

only get 5 tweet count

I am using favoritesjson.php in that i get the result only 5 sweet count .(limit is c=100)

No results being returned on RSS or JSON

PHP Version: 5.4.25
TweetleDee version: 0.4.0
Error Messages: None (but have debug turn on in file homerss.php)
Error description: Have installed and got the validation error a few times, then it just... went away. Didn't update anything in particular to get it gone.
For homerss.php I can see the RSS page in Firefox and am getting no debug messages - but there is absolutely nothing listed.
I've also tried other variables such as trying to pull a user's timeline and these are also not working - I'm getting no results at all.
In Chrome trying the same URL as the URL that I gave you the error image for I get an error message. This doesn't change whether I've got debug set to 1 or not.
twitter homerss php results
chrome homerss php error message

Tweetledee errors

Hi,
I followed the steps for installation on my server but I am getting this error
"Call to undefined function mb_internal_encoding()" in tweetledee/tldlib/tmhUtilities.php on line 45.
Tweetledee Version: 0.4.1
PHP version: 5.4.26

enhance FAQ

First (since I haven't found another place to do so) thank you for this well documented and useful piece of software.

The "Issue": The FAQ for "I get the error "verify_credentials connection failure error"" could be enhanced by the nearly obvious
"You may have entered wrong credentials."
This happened to me having copied not only the twitter keys but also a preceding space. ;)

rt=popular

Hi Chris,
First of all, great thanks for your work, and for users who help debug your fantastic script.

Well, i wonder how really works the parameter rt=popular, because when i test it with this kind of request:
searchrss.php?q=%23seo+lang%3Afr+-RT+filter%3Alinks&rt=popular

I have no results!!

It's a very popular hashtag, even in france, and I should have some results.
For instance, if i test this request as a twitter widget (https://twitter.com/settings/widgets) and i check "display top tweets", i got results!!!

Maybe the parameter "popular" is too "strong" in term of popularity??

Thanks for your help!

Services stopped working

I noticed two days ago that Tweetledee stopped working for me. My server seems to be working fine, I can get cached tweets, but not new ones. If I change any of the search parameters I get the message "user_timeline connection failure". I'm using the simple "/tweetledee/userjson.php" to get my tweets. I have being using Tweetledee daily for the past six months and nothing like this ever happened.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.