Platinum Partner

Facebook (Graph) API Class Using Javascript And PHP. (Page Example).

catchCookie();
?>



	
		Facebook Class
	
	
		getUserInfo($Cookie);
				
				// Print the variable (As a test, I suppose?).
				print_r($User);
			} else {
				// The user is either logged out of Facebook, not authenticated to your application, or both. Show the login button :).
				echo $Facebook->loginButton();
			}
			
			// This quickly compiles all the Javascript and DIVS needed to run the FacebookAPI (You can do it yourself, but this makes the code look cleaner).
			$Facebook->Compile();		
		?>
	
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}