Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged twitter
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1012
posted 14 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
1112
posted 14 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
1501
posted 14 years ago by ginoplusio
To follow all of members in a list, you may want to use http://tweepml.org/
0
713
posted 14 years ago by zuzara
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
1047
posted 14 years ago by s0l1dsnak3123
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
1157
posted 14 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
939
posted 14 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
827
posted 14 years ago by alvincrespo
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
963
posted 14 years ago by jonathonmaguire
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
885
posted 15 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
874
posted 15 years ago by brettbergeron
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
1809
posted 15 years ago by shakefon
Thanks to James Padolsey for sharing this script with everyone on his blog, link above.
0
631
posted 15 years ago by DrewDouglass
Some PHP code that can be used to get formatted HTML containing N number of tweets for a given twitter user.
5
1237
posted 15 years ago by gripnrip
To convert links on a twitter status to a clickable url. Also convert @ to follow link, and # to search
3
1198
posted 15 years ago by mardix