Created
December 9, 2011 10:11
-
-
Save timmow/1450982 to your computer and use it in GitHub Desktop.
Pluck Forums minimal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html xmlns:pas="http://phpinfo.tmower.connect-dev-web-01.bfb1.sites.ipcdigital.co.uk/pluckTest.html" xml:lang="en" lang="en"> | |
| <head> | |
| <title>Client Flow Example</title> | |
| <script type="text/javascript" src="http://goodtoknow.pluck.ipcdigital.co.uk/ver1.0/Content/ua/scripts/pluckApps.js"></script> | |
| <script> | |
| window.fbAsyncInit = function() { | |
| FB.init({ | |
| appId : '152695124822835', // App ID | |
| status : true, // check login status | |
| cookie : true, // enable cookies to allow the server to access the session | |
| oauth : true, // enable OAuth 2.0 | |
| xfbml : true // parse XFBML | |
| }); | |
| // Additional initialization code here | |
| }; | |
| // Load the SDK Asynchronously | |
| (function(d){ | |
| var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;} | |
| js = d.createElement('script'); js.id = id; js.async = true; | |
| js.src = "//connect.facebook.net/en_US/all.js"; | |
| d.getElementsByTagName('head')[0].appendChild(js); | |
| }(document)); | |
| </script> | |
| </head> | |
| <body> | |
| <div id="fb-root"></div> | |
| <script type="text/javascript"> | |
| pluckAppProxy.embedApp("pluck/forums", {plckCategoryId: 'Cat:a54b3f9a-6bbc-4c9f-b53b-775a66993b1c', plckForumPage: 'ForumCategory'}); | |
| //pluckAppProxy.embedApp("pluck/forums", {}); | |
| </script> | |
| </body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment