Mini Bots PHP Class

Mini Bots PHP Class

- get instagram pictures by hashtag

This PHP class is a growing collection of small spiders and web bot that go out on the web and make some small useful jobs.


Actually the mini bots can do those things:
  1. Copy a remote url to your local server: copyFile
  2. Get IP address of the user: getIP
  3. Get geographic informations from IP address: ipToGeo
  4. Get spelling for a word using Google: doSpelling
  5. Make a Tiny URL using tiny url service: doShortURL
  6. Decode a short URL of any service: doShortURLDecode
  7. Check if an URL to an mp3 is really an mp3 file: checkMp3
  8. Check if an URL exists: url_exists
  9. Do SMTP email validation: doSMTPValidation
  10. Get infos of an URL (keywords, title, images, description, favicon…): getUrlInfo
  11. Get infos of a VIDEO URL (title, description, thumb for youtube and vimeo services): getVideoUrlInfo
  12. Read facebook counters for likes, shares, comments, clicks…: readFacebookCounters
  13. Read the numbers of time a URL has been twitted: readTwitterCounter
  14. Read Google +1s counter for an URL: readGooglePlusCounter
  15. Get Google suggested keywords for a keyword: googleSuggestKeywords
  16. Get Latitude and Longitude (georeference) from an address with Google: getLatLong
  17. Get Wikipedia definition: wikiDefinition
  18. Get Vimeo Info on a video: getVimeoInfo
  19. Get exchange rates, currency converter: getExchangeRateFromTo
  20. Send push notification on android devices with Notify My Android app: notifyNma
  21. Send push notification on ios and android devices with Pushover app: notifyPushover
  22. Ping pingomatic services: pingomatic
  23. Get images from a keyword: getImage
  24. Get images and user data from Instagram: getInstagramPics
  25. Get detailed informations from an Instagram image url: getInstagramPic
  26. Get instagram pics by hashtag: getInstagramPicsByTag NEW!
  27. Get instagram followers count: getInstagramFollowers
  28. Get twitter user data (followers/followings/avatar): twitterInfo
  29. Get a page, find links, find emails… and more methods for spidering.
  30. Get images by keyword with Google: getImageGoogle
  31. Get gravatar image from email address: getGravatar
  32. Get Linkedin counter: getLinkedinCounter
  33. Get Pinterest counter: getPinterestCounter
  34. Get Google back links count for a domain: getGoogleBackLinks
  35. Get Google number of indexed pages for a domain: getGoogleIndexedPages

Future updates will bring new mini bots for you! To fully work need cURL module installed on your server.

You can play with some methods in this interactive demo or check the complete test demo (same as live preview button).


Here are some online tools made with this class:

instagram send images in email

easy georeference with php

email validation smtp email validator online


version 3.42 - updated twitter info bot
version 3.46 - 12/JUNE/2015 updated instagram, new method getInstagramFollowers, new method notifyPushover
version 3.47 - 01/JULY/2015 updated getLatLong method
version 3.48 - 28/SEPTEMBER/2015 updated Instagram methods
version 3.49 - 06/NOVEMBER/2015 getPage, getUrlInfo improved and minor bugs
version 3.51 - 17/NOVEMBER/2015 fixed twitterInfo, added wikipedia image to wikiDefinition, doGeoIp fix, small bug attr method fixed, better https handle
version 3.52 - 04/JANUARY/2016 fixed twitterInfo problem with spanish language
version 3.55 - 15/APRIL/2016 added getInstagramPicsByTag
version 3.56 - 30/SEPTEMBER/2016 modified methods for Twitter counters, for facebook counters, added data in getUrlInfo for Amazon prices, fixed documentation