This project is read-only.

New Facebook Profile Add Application Loop

Jul 27, 2008 at 2:42 AM
We have a Facebook application that has been in operation for several months without issue. The application uses fbml and the Facebook.NET libraries. When a user who has the new Facebook profile tries to add the application, the application gets stuck in a loop of redirects to the http://apps.new.facebook.com/add.php page. It appears the new Facebook is not sending the fb_sig_added parameter. Does anyone have any suggestions on a fix for this issue?
Jul 27, 2008 at 4:37 PM
Im afraid to tell you that the request_add method is no longer valid, and facebook are depreciating the method in favour of request_login

The new version of Facebook.Net does support this, and will hopefully be released on Monday, the quickest solution would be to wait until then.
Jul 27, 2008 at 6:12 PM
Excellent! Thank you for keeping on top the changes. Your efforts are greatly appreciated. :)
Jul 28, 2008 at 4:47 PM
Looking forward to the new version too.  Thanks!
Jul 28, 2008 at 10:19 PM
request_add and request_login are functions in the PHP framework supplied by Facebook. They're not really part of the API. In the end, it's just a glorified way to decide whether to redirect to add.php or login.php. I've got some code in the new Facebook.NET that checks for RequiresLogin and RequiresAdd as properties of FacebookApplication, but I'm not happy with how that's handled and will be revising it as soon as possible.

Bill
Jul 29, 2008 at 2:53 AM
Hey Crashed. Is there any update on the nre version? Please advise.
Jul 30, 2008 at 1:58 AM
Bill has just published the latest updates here:

http://www.codeplex.com/FacebookNET/Thread/View.aspx?ThreadId=32431
Jul 30, 2008 at 7:23 PM
First, thanks for you efforts, they are greatly appreciated. I have downloaded the latest code. Unfortunately, I am still getting the looping issue. I guess we will have to wait a little longer.
Aug 1, 2008 at 6:30 PM
That doesn't surprise me. I have to revise the authorization part ASAP. I will try to wrap these lingering issues up this weekend and have another beta out Monday if not earlier.

Thanks!

Bill
Aug 6, 2008 at 11:04 PM
We just encountered this problem today. We fixed it (for the most part) by copy/pasting the URL in the post-add setting over to the post-authorization setting. You don't see a post-authorization setting? Click over to the new profile and there it is—along with a bunch of others. I think that's really bad form.

Bill
Aug 16, 2008 at 10:04 PM
Tried the new code and the post-auth stuff, no joy it seems :(
Sep 15, 2008 at 8:41 PM
Any update on this problem?  I have many users complaining about this problem.....
Sep 22, 2008 at 5:15 AM
+1 Having the same problem with a new app. It works with a link outside of facebook. But to link back to the application I got a blank page with some JS errors:

Webpage Script Errors

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30428; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Mon, 22 Sep 2008 04:14:14 UTC


Message: 'channelManager' is undefined
Line: 1815
Char: 1
Code: 0
URI: http://static.ak.fbcdn.net/rsrc.php/v2/pkg/93/122422/js/common.js.pkg.php

I'm really new to facebook.NET so maybe I didn't set everything correctly.

Thanks for your help
Oct 8, 2008 at 3:16 PM
I am having the same problem with a new app developed by me. This error appears to particular id not to all id. On the page load of the application  I got a blank page with some JS errors:

Webpage Script Errors

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30428; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Mon, 22 Sep 2008 04:14:14 UTC


Message: 'channelManager' is undefined
Line: 1815
Char: 1
Code: 0
URI: http://static.ak.fbcdn.net/rsrc.php/v2/pkg/93/122422/js/common.js.pkg.php

I'm really new to facebook.NET so maybe I didn't set everything correctly.

Thanks for your help