{"id":1582,"date":"2014-05-04T09:18:26","date_gmt":"2014-05-04T09:18:26","guid":{"rendered":"http:\/\/portfolio.arnoldbiffna.com\/?p=73"},"modified":"2025-09-24T14:35:06","modified_gmt":"2025-09-24T14:35:06","slug":"papervision-app-on-facebook","status":"publish","type":"post","link":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/2014\/05\/04\/papervision-app-on-facebook\/","title":{"rendered":"Papervision App on FaceBook"},"content":{"rendered":"<p><a href=\"https:\/\/d3od4vl78dd97d.cloudfront.net\/blogimages\/freind-wallz.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-274\" title=\"freind wallz\" src=\"https:\/\/d3od4vl78dd97d.cloudfront.net\/blogimages\/freind-wallz.jpg\" alt=\"\" width=\"449\" height=\"293\" \/><\/a><\/p>\n<p>Using the <a href=\"http:\/\/code.google.com\/p\/papervision3d\/\" target=\"_blank\" rel=\"noopener\">Papervision<\/a> library, and the <a href=\"http:\/\/code.google.com\/p\/facebook-actionscript-api\/\" target=\"_blank\" rel=\"noopener\">Graph API<\/a> Facebook \u00a0library, I had the idea to build a 3D wall of images from <a href=\"http:\/\/www.flashloaded.com\/flashcomponents\/3dwall\/\" target=\"_blank\" rel=\"noopener\">these cool components over at FlashLoaded<\/a>. I considered using their component, but decided to build my own. I had already built a 3D Carousel as part of my portfolio interface, and thought, well, a \u00a03D Wall is just a bunch of carousels on top of each other&#8230; SO I revisited my old carousel and build it up to the wall.<\/p>\n<p>This is turning into a long term side project, and I&#8217;m learning along the way. I really like the way FaceBook setup their <a href=\"http:\/\/developers.facebook.com\/docs\/reference\/fql\/\" target=\"_blank\" rel=\"noopener\">FQL language<\/a>, and so far I have been using a few tables along with FQL Multiqueries. This allows my app to do several SQL-type (FQL ) queries in one shot and get back the data in one object.<\/p>\n<p>Some sample FQL calls I&#8217;m using:<\/p>\n<p>Get data about the user&#8217;s friends:<br \/>\n<code>SELECT uid, name, pic,status FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) LIMIT 1000<\/code><br \/>\nGet Status\/Post messages from each user ( depending on how recent in your Stream )<br \/>\n<code>SELECT source_id,message, created_time FROM stream WHERE source_id IN (SELECT uid2 FROM friend WHERE uid1 \u00a0= me()) LIMIT 1000<\/code><br \/>\nWhat&#8217;s great is that these calls are AS3 native within the api ( but really use JavaScript and JSON externally). There are quite a few tables of data so just imagine the apps you\u00a0could\u00a0make&#8230;<\/p>\n<p>As of 4\/18\/2011, I have 57 users on this app, 20 of them are Facebook friends. Lets see if I can beef it up and make it viral!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using the Papervision library, and the Graph API Facebook \u00a0library, I had the idea to build a 3D wall of images from these cool components over at FlashLoaded. I considered using their component, but decided to build my own. I had already built a 3D Carousel as part of my portfolio interface, and thought, well, &hellip; <a href=\"https:\/\/portfolio.arnoldbiffna.com\/index.php\/2014\/05\/04\/papervision-app-on-facebook\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Papervision App on FaceBook&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":1887,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[10,14,16],"class_list":["post-1582","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-flex-flash-actionscript","tag-3d","tag-api","tag-as3"],"_links":{"self":[{"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/posts\/1582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/comments?post=1582"}],"version-history":[{"count":1,"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/posts\/1582\/revisions"}],"predecessor-version":[{"id":1829,"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/posts\/1582\/revisions\/1829"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/media\/1887"}],"wp:attachment":[{"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/media?parent=1582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/categories?post=1582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portfolio.arnoldbiffna.com\/index.php\/wp-json\/wp\/v2\/tags?post=1582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}