tutorials
My knowledge-sharing playground, which mostly contains PHP & JavaScript related stuff.
In order to complete this tutorial you will need to apply for a flickr API key. You will also need to download a copy of phpFlickr API Kit. The use of an API Kit makes the use of flickr’s API methods easier. You can also view the demo page of the tutorial (opens in a new tab).
Read more →
If you are using twitter’s API to display your tweets in your Website you have probably faced the problem that your mentions (e.g. @stathisg), hashtags (e.g. #question) and URLs are displayed as plain text and not as active links. You can fix this in a very easy way, using regular expressions in php.
Read more →
Retrieving and displaying a tweet using the twitter API in real-time as discussed in “how to retrieve and display your latest tweet using PHP” can sometimes produce errors due to twitter’s inability to handle a lot of simultaneous request from multiple users. To deal with that, you can store the tweet in an XML file and retrieve it from there, so you don’t have to rely on twitter’s availability. This way is more efficient and will improve the loading time of the page.
Read more →
Retrieving your latest tweet from twitter is a very simple process. First, you need to request your latest tweet from twitter using its API and then parse the xml response and select your tweet. It’s much simpler than it sounds!
Read more →
First have a look at the demo page (opens in a new tab) to understand what we’re trying to accomplish. You can also [download id=”3″ format=”1″]. For the blinking cursor effect, we’re going to simulate a DOS prompt. The CSS code of the tutorial is very simple. We just have to align all the paragraphs that will include the text parts in one line:
Read more →