Welcome To Snipplr

Everyone's Recent PHP Snippets Tagged twitter

0 76 posted 9 years ago by laurentzziu
A Twitter pull-in that I coded using PHP. Uses the JSON user_timeline Twitter API call. It displays the tweet with links to any urls, users, or hashtags, the time ago, and if it was in reply to anyone.
2 124 posted 9 years ago by mloberg
To use just edit the Twitter user ID which appears at the bottom of the snippet. You may want to change the location where the tweets are cached, by default they are stored at the root level of your domain. The reason for caching is that Twitter limi...
0 152 posted 9 years ago by f6design
Since the 31 of august 2010, twitter made its API more secure, stopping basic authentication calls. So, if you used basic authentication you have to change your code and implement oAuth authentication model or you can follow this link and found a mi...
1 172 posted 9 years ago by ginoplusio
To follow all of members in a list, you may want to use http://tweepml.org/
0 92 posted 9 years ago by zuzara
0 87 posted 10 years ago by screamwork
split_to_chunks splits the string up into an array with elements containing 140 characters <b>or less</b>. This enables you to keep words intact when sending automated twitter messages. $to is needed in order to subtract from 140 the amount of cha...
0 104 posted 10 years ago by s0l1dsnak3123
Extracts the most recent tweet from the users RSS feed and auto-detects links.
1 146 posted 10 years ago by LuckyShot
This small function receive a text as input and returns an html text with links if the source text contains urls (http://www… but also ftp://… and every other protocol), emails, twitter’s usernames (with @ at the beginning) and also twitter tag...
0 129 posted 10 years ago by ginoplusio
PHP function of mini bot class that lets you retrieve twitter infos from twitter nickname. ($this->attr method is part of the Mini Bot Class)
2 108 posted 10 years ago by ginoplusio
This is the beginning of my retrieval of twitter status class...just something im playing with right now. It retrieves the xml, saves it on your server, then you can either use javascript or php to traverse the xml tree.
0 99 posted 10 years ago by alvincrespo
0 85 posted 10 years ago by maryann
1 108 posted 10 years ago by maryann
0 56 posted 10 years ago by maryann
Modified version of the script created by Dave Stevens, Enables the user to input their credentials on a webpage rather than having to change the actual php script code. Changes: Changed $user,$pass,$term This is a modified script, the original...
0 98 posted 10 years ago by jonathonmaguire
via @kenrick1991
1 79 posted 10 years ago by rickfu
3 91 posted 10 years ago by hasantayyar
Display the number of people following you on Twitter using this custom Twitter badge. The code simply returns a number so you can style it however you like.
1 108 posted 10 years ago by neal_grosskopf
This is a quick & dirty helper for pumping out those annoying little link sharing URLS. I've kept it simple, so all it does is return a URL formatted for a particular service. To use it, just pass a string of the service name to the helper followe...
1 103 posted 10 years ago by brettbergeron
http://code.google.com/p/jquery-jtwitter/ for examples.
2 90 posted 10 years ago by jonniespratley
Simple PHP script which allows you to specify your twitter log in details and a search term, then automatically follow users who have tweeted that term. Code is released as Open Source, use it as you wish - please leave my URL in the commented sectio...
3 243 posted 11 years ago by shakefon
I found this code for adding a custom twitter widget to your functions file, it's been useful on more that a few occasions. So thought I would add it to the blog as well as development. As the code needs the twitter_update_list ID it's not possible...
3 125 posted 11 years ago by Ben
"Why I needed this? Recently we have setup a server at our office for committing work to a local SVN repository and have the QA test our work whenever they are ready. We also have a staging server where we do SVN update from this repo. Now, for th...
3 90 posted 11 years ago by hasantayyar
Thanks to James Padolsey for sharing this script with everyone on his blog, link above.
0 64 posted 11 years ago by DrewDouglass