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
720
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
984
posted 13 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
816
posted 13 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
679
posted 13 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
727
posted 13 years ago by mloberg