This project is read-only.

invite friends to application using iframe

Feb 25, 2008 at 9:56 PM
hi iam developing an application which I need to display the friends to invite to my application. It should be in dotnet using iframe

I am attaching a link below . it should look like similar

http://www.fonicmonkey.net/posts/facebook-invite-panel-java-jsp-code-example/

can anyone please help

Thanks
Feb 25, 2008 at 10:19 PM
Help? You mean, like build it for you? Why don't you try to develop it and we can help you along with any stumbling blocks you encounter?

If you're wondering where even to begin, the FBML given is a pretty good place to start. The multi-friend selector can be reproduced in plain ol' HTML but it's going to be tremendously easier just using the FBML version. You can have FBML in an IFRAME: it's just going to go through an additional step before it is rendered.

But seriously that link you sent pretty much spells everything out: the only JSP I can see is that c:set part and that's just to define the copy for the invitation.

Let us know what we can specifically help you with after you've really tried to solve it on your own.

Bill
Mar 1, 2008 at 3:07 AM
Bill, I followed that code (and made the .net specific changes), but I get a blank page when I load it in the browser.

Can you please explain how to use the FBML tags in an iframe? I'm pretty sure that those tags aren't being recognized. I'd really appreciate it.
May 14, 2008 at 3:05 AM
I'm really interested in this as well. SendRequest has been depriciated.
Jun 30, 2008 at 11:14 AM
Hi Bill,

Your FBML in iframe comment also has me interested, never thought of it, any comments?

This may relate to sending invites, how can we do this without using SendRequest.

Your input on this forum is greatly appreciated.

Regards,
Matt

UnclRico wrote:
I'm really interested in this as well. SendRequest has been depriciated.



Jul 3, 2008 at 10:47 PM
We just ran into this problem in an upcoming Facebook application that's still in development (maybe two weeks from release). We built our own invitation and notification screen, but ran into big problems with IE and it was a shadow of the multi-friend-select implementation. So we scrapped our code and used Facebook's.

There's a non-FBML version of fb:multi-friend-selector that works great. Here are the details:

http://wiki.developers.facebook.com/index.php/Multi_friend_selector

The basic idea is that you pass in information, it renders it, and then redirects back to wherever you want with the IDs of the people selected. This Facebook page, incidentally, will send out the invitations and requests for you as well.

Bill
Jul 4, 2008 at 10:45 PM
Thanks! So we can x-post to this as required (and put up with loss of look and feel I suppose, but not really a bad thing depending on your app) :)

Q. How are other apps sending out 'requests' (using PHP etc), if so, I assume we can upgrade fb .net to allow this?  I am currently using notifcations on my invite to friends page.

Let us know what your new app is also if you dont mind, will take a look :)

Regards,
Matt


Jul 7, 2008 at 9:00 PM
Sure thing. We're in QA now and should be in production in a few weeks.

I'm not sure how other apps are sending out requests. I'd have to look into it.

Bill
Jul 16, 2008 at 10:54 AM
Hi Bill,

Re: http://wiki.developers.facebook.com/index.php/Multi_friend_selector

I am trying to create the required signature to call this, I can see how to sort/a=b/MD5 etc as per the FB source code, but I am not sure EXACTLY what parameters to put in the params list

I have ALL the params I pass to http://wiki.developers.facebook.com/index.php/Multi_friend_selector  including apikey (apart from sig obviously)
BUT do I need time or user of something else to complete the set?

Also, great news that nikhil will be continuing this project and look forward to seeing your app.

Regards,
Matt