views:

37

answers:

1

On sign-up (i.e. when accessing the app), we need to get user's permission to invite their friends to use the app. When a user has finished using the app and the picture displays on their wall, we need to share the post with all of their friends automatically

Can this be done in FB application running from iframe? What would be the easiest approach to do this.

+1  A: 

You can't automatically send out invites. You can present the user with a form to pick friends to invite, but your app can't do it on their behalf.

ceejayoz
Ok, but can this be done from within the iframe?
Guy
Yes. Why wouldn't it be?
ceejayoz
Ok. So should I just write <fb> code directly to the iframe?
Guy
You'd probably best familiarize yourself with the documentation if you plan on writing a Facebook app. http://developers.facebook.com/docs/guides/canvas/#requests
ceejayoz
Ok. So I wrote the code from the documentation in the iframe (http://apps.facebook.com/gajuskuizinas/) but it does not render any content.
Guy
Okay. I got it. I need to use xfbml to do that.
Guy