SmashinGeeks | Geeks In Action

Posted by Orange Game 2011-05-03

SmashinGeeks | Geeks In Action

Link to SmashinGeeks

50+ Extremely Unique Photoshop Based Creative Photos Artworks

Posted: 02 May 2011 05:00 AM PDT

After a long time, we have decided to execute a creative illustrations artworks based on Photoshop actions and brushes. These creative photos and illustrations looks real objects but its a face that photoshop gives everything life. You may also enjoy our previous Photoshop based articles and compilations.

How To Fetch Facebook Page Likes Counts In Plain Text

Posted: 02 May 2011 02:29 AM PDT

Facebook is the best place to spread your blog news and site products. Almost all top blogs use facebook to spread their articles all over their facebook page fans. Getting Facebook Fan Page likes in text plain is so simple and its only a 5 line code. Just what you need is a PHP version above 5.2.0 and your fan page ID or fan page name (Vanity URL).

And also do not forget to place your facebook page ID or facebook page name in the place of Page ID/Page Vanity URL. This counts your facebook likes according to the data stored in the facebook protocols.

Paste this function in your theme functions.php file and save the file.

function bfan() { $pageID = 'Page ID/Page Vanity URL'; $info = json_decode(file_get_contents('http://graph.facebook.com/' . $pageID)); echo $info->likes; }

After saving the file, you can use the function calling code directly to call the function and display Facebook Fan Page likes in plain text. To call the function, you can use this:

<?php bfan(); ?>

0 komentar:

Posting Komentar

Search

Twitter updates