I love Rapportive. It’s a nifty way to know about a user who sent you an email to your Gmail account. You can know about the person who sent the email and treat the person that way. It collects its data from various sources including social networks. But, you can only use that in your Gmail as a browser add-on.
As a developer, that’s kinda sad. Wouldn’t it be nice to be able to use those information in your custom application? Well, there is a hack that I found and turned it into a PHP class for easier usage and it’s kinda cool 😀
So I wrote this nifty PHP class and it makes fetching the data a breeze.
require dirname( __FILE__ ) . '/rapportive.php';
$rap = new WeDevs_Rapportive( 'firstname.lastname@example.org' );
var_dump( $rap->get_data() );