Show number of followers
-
Hi there,
I wish to show the number of followers on the connected facebook page and nothing more. Just a single number.
- Is it possible in your plugin?
- And if not, is the access token and other needed information stored in the database so I can make my own graph call?
I have already tried to make my own call, and the code below actually works. However, the access token is expiring every 2 hours and I was wondering whether your plugin had an access token updated and stored continuously.
$json_string = @file_get_contents('https://graph.facebook.com/v19.0/'. esc_attr($atts['page_id']) .'/?fields=followers_count&access_token='. esc_attr($atts['access_token']));
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Show number of followers’ is closed to new replies.