-
-
Save billerickson/80952dcf6dc85b0c05da320718565672 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$fql = "SELECT url, normalized_url, share_count, like_count, comment_count, total_count, commentsbox_count, comments_fbid, click_count FROM link_stat WHERE url = '" . $url . "'"; | |
$results = wp_remote_get( 'https://graph.facebook.com/fql?q=' . urlencode( $fql ) ); | |
ea_pp( $results ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment