Has anyone used the Facebook JS Client Library in a canvas app? I need to have access to the current user''s info, as well as lookup some info about other users. I''d like to avoid using FBML or server-side API calls for what I''m trying to accomplish. It looks like it''s possible with the JS client library, but I don''t see a mention of it being used on a canvas app, only stand-alone or iframe apps. Thoughts? Brandon -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20090225/08600e9c/attachment.bin>
On Feb 25, 2009, at 9:19 PM, Brandon Keepers wrote:> Has anyone used the Facebook JS Client Library in a canvas app? I > need to have access to the current user''s info, as well as lookup > some info about other users. I''d like to avoid using FBML or server- > side API calls for what I''m trying to accomplish. It looks like > it''s possible with the JS client library, but I don''t see a mention > of it being used on a canvas app, only stand-alone or iframe apps. >I would use FBML if possible, it will be a whole lot easier. The JS library is a pain, and I doubt it works inside a canvas application. In fact, the old JS library has been deprecated for Facebook Connect. Mike> Thoughts? > > Brandon > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
On Feb 26, 2009, at 9:03 AM, Mike Mangino wrote:> > On Feb 25, 2009, at 9:19 PM, Brandon Keepers wrote: > >> Has anyone used the Facebook JS Client Library in a canvas app? I >> need to have access to the current user''s info, as well as lookup >> some info about other users. I''d like to avoid using FBML or >> server-side API calls for what I''m trying to accomplish. It looks >> like it''s possible with the JS client library, but I don''t see a >> mention of it being used on a canvas app, only stand-alone or >> iframe apps. >> > > I would use FBML if possible, it will be a whole lot easier. The JS > library is a pain, and I doubt it works inside a canvas application. > In fact, the old JS library has been deprecated for Facebook Connect. > > MikeI''d like to avoid using FBML if possible. I''m writing a group chat app built on top of Facebook''s LiveMessage. Using FBML, every time a user sends a message I have to pass along their name and photo with each message. Ideally, I''d just like to pass their user ID and each client can look up the name and photo. I was hoping to use the JS client to keep the load off of my servers. Any other ideas for accomplishing this? I''ll blog about the chat once it''s done. I''ve got it working now using some server-side API calls, but I''d like to push these to the client if possible. Thanks, Brandon -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20090226/605dce1f/attachment.bin>
I''m on vacation and writing from my iphone but I feel it''s important to chime in on this. The iframe app I''m working on uses the JS library and most of time it works pretty well. We haven''t used a ton of features though, so your results may vary. For what you''ve mentioned though, which sounds like you just want to call Users.getInfo, you should be fine. I''ll try to get into this more when I get back on Monday. -Aaron Sent from my iPhone On Feb 26, 2009, at 6:33 AM, Brandon Keepers <brandon at opensoul.org> wrote: On Feb 26, 2009, at 9:03 AM, Mike Mangino wrote: On Feb 25, 2009, at 9:19 PM, Brandon Keepers wrote: Has anyone used the Facebook JS Client Library in a canvas app? I need to have access to the current user''s info, as well as lookup some info about other users. I''d like to avoid using FBML or server-side API calls for what I''m trying to accomplish. It looks like it''s possible with the JS client library, but I don''t see a mention of it being used on a canvas app, only stand-alone or iframe apps. I would use FBML if possible, it will be a whole lot easier. The JS library is a pain, and I doubt it works inside a canvas application. In fact, the old JS library has been deprecated for Facebook Connect. Mike I''d like to avoid using FBML if possible. I''m writing a group chat app built on top of Facebook''s LiveMessage. Using FBML, every time a user sends a message I have to pass along their name and photo with each message. Ideally, I''d just like to pass their user ID and each client can look up the name and photo. I was hoping to use the JS client to keep the load off of my servers. Any other ideas for accomplishing this? I''ll blog about the chat once it''s done. I''ve got it working now using some server-side API calls, but I''d like to push these to the client if possible. Thanks, Brandon _______________________________________________ Facebooker-talk mailing list Facebooker-talk at rubyforge.org http://rubyforge.org/mailman/listinfo/facebooker-talk