Spaces
This commit is contained in:
parent
1f815ba7bc
commit
eb3dbc40bb
116 changed files with 1123 additions and 1123 deletions
|
@ -3,7 +3,7 @@ title: Display the Number of Facebook fans in PHP
|
|||
nav: blog
|
||||
slug: display-number-facebook-fans-php
|
||||
tags:
|
||||
- php
|
||||
- php
|
||||
---
|
||||
Replace the $page_id value with your Page ID number (unless you want to show the number of fans for this site).You can find your Page ID by logging into your Facebook account, going to 'Adverts and Pages', clicking 'Edit page', and looking at the URL.
|
||||
|
||||
|
@ -18,4 +18,4 @@ $fans = $xml->page->fan_count;
|
|||
print number_format($fans);
|
||||
~~~
|
||||
|
||||
This code was originally found at <http://wp-snippets.com/display-number-facebook-fans>.
|
||||
This code was originally found at <http://wp-snippets.com/display-number-facebook-fans>.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue