Profile
Achievement
mloberg's Recent Snippets
- All /
« Prev 1 Next »
This simply takes an array and coverts it to variables. E.g. If you had an array, $array = array("key" => "value"), after running this script, $key would be "value".
0
737
posted 13 years ago by mloberg
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
999
posted 14 years ago by mloberg
This is a two file video player. I use JSON to get the list of videos from a user, then when a thumbnail is clicked, an AJAX request is sent with the id of the video, and an oEmbed response is sent back.
4
834
posted 14 years ago by mloberg
Display the latest tweets of a user using JavaScript. Not really a recommended way. If Twitter is slow, your site will load slow. I would recommend using my PHP implementation instead. It will not hang your site if Twitter is not working.
1
697
posted 14 years ago by mloberg
This is a very simple use of the Vimeo API. All it does is list the video title, a thumbnail of the video, and the description. More advance script coming later.
0
745
posted 14 years ago by mloberg