Mini Bot Class Updated

Now there are 17 bots included in this class! Well I’ve updated the mini bots class with some new things:…

April 9, 2010

Now there are 17 bots included in this class!
Well I’ve updated the mini bots class with some new things: you can now retrive the list of videos from a Youtube user, you can retrieve the images return by Google Images when searched with a query and I’ve added some function to handle Twitter account through its API (great API!), so you can read user info, post a status update and get the list of your last posted stuff.

Here is a short description of the class:
This class can be used to perform useful actions using Web services.
It can send requests to several different types of servers to perform actions like:
– Get text phrase correct spelling using Google search spelling suggestions
– Get exchange rates from Banca di Italia site
– Get weather forecasts from Google
– Get shorter URLs using TinyURL
– Get the geographic location of a given IP address using GeoIPTool
– Validate an e-mail address connecting to its SMTP server
– Update Facebook status
– Update Twitter status
– Get Twitter statuses update list for a user
– Get Twitter user info
– Get list of Youtube videos uploaded by a user
– Get list of images return from Google Images searched by a query
– Copy remote files to your server
– Make a pdf from a webpage
and more…


I'm a software engineer, an everyday web developer and a maker. I usually build sites with PHP, within or without WordPress. I build Internet of Things with Arduino and ESP8266. I'm the founder of and and I'm actually the Chief Technical Officer of Better Days web agency.


Twitter counter no longer works

Since 20 of November 2015 the twitter button has changed. This is the new Twitter sharing button, as you can…

November 23, 2015

Scraping content with PHP as if it was jQuery

Building a spider or a bot needs some knowledge of regular expressions, you must know and use preg_match or preg_match_all…

December 8, 2013

Get instagram data without official api in PHP

Instagram has an official API to interact with its database of images and users. If you have enough time to…

December 3, 2013

How to build a spider… uh, well an email scraper

What is a spider? A spider is a program that automatically navigates web pages to find informations. These informations can…

November 26, 2013

Make a cron job with IFTTT

Cron is a software utility, a time-based job scheduler in Unix-like computer operating systems. People who set up and maintain…

November 12, 2013

How to read facebook likes count from PHP

When you add facebook like button to your site, probably, you also want to save the number of likes of…

October 8, 2012