Commit 7d33b8e7 authored by Rafael Chaves Freitas's avatar Rafael Chaves Freitas

fix a debug

parent f279758a
......@@ -18,8 +18,7 @@ function get_facebook_shares( $data ) {
if( need_share_update( $post_id ) ) {
$response = wp_remote_get( add_query_arg( array(
//'id' => urlencode( get_permalink( $post_id ) ),
'id' => urlencode( 'https://www.google.com/' ),
'id' => urlencode( get_permalink( $post_id ) ),
'access_token' => $access_token,
'fields' => 'engagement'
), 'https://graph.facebook.com/v3.0/' ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment