Tag Archives: Curl

If you want to get some of your social media statistics for a particular URL, like the number of Facebook “likes,” mentions on Twitter, or +1’s on Google Plus, you can (at least in theory). Facebook’s Open Graph API supports public like/share counts the best and in the easiest way. Twitter still allows you to do it by calling an internal JavaScript, and Google+ has no even semi-official way to do this, which is really uncharacteristic of them.

Google even took measures to disable the “unofficial” API method, so the only way to do it at the moment is to rip the number out of the official Google+ button’s source code with a regular expression. You can complain on this issue ticket and if enough people do, they might actually listen.

In any case, here are the good, the bad, and the ugly:Read More …

Twilio is a great service. It allows you to send and receive automated calls and text messages for very reasonable prices. They also have a wonderful API that makes integration into your site or plugin a breeze.


You are given a unique Account SID and Account Token for each phone number you use; you use this data to authenticate with the server. To send a request, you just put To, From, and Body URL attributes into a HTTP post. The easiest way to do this is probably using cURL (or create stream). The function below is all you need to send an SMS.Read More …