Hello,

Thank you so much for the work on this module. I think this could be the most powerful add-on that exist on the drupal platform.

Everything is working (voting, registration forms, ability to edit nodes) except for the ability for the user to post comments from facebook. The user is able to view the node and I have included the ability to add comments. When the user clicks on the link, they get a 404 page not found error.

Received HTTP error code 404 while loading http://mysite.com/fb_cb/496/iproposecleveland/fb_cb/496/comment/reply/40

However if I paste the following url into a browser, it appears the page loads fine in facebook

http://mysite.com/fb_cb/496/comment/reply/40.

So it appears the fb theme is writing the url incorrectly. Any suggestions on what to change?

thanks,
G

Comments

Dave Cohen’s picture

Status: Active » Postponed (maintainer needs more info)

There's something very wrong with that URL. You should never see "fb_cb/..." twice in one URL.

Install the fb_devel module if you haven't already. Then go to app.facebook.com/YOURAPP/fb/devel. Copy the values shown for current_url, base_url and base_path into this issue.

gsvitak’s picture

Thanks for the help

btw I pasted the wrong url before

the following url is the one that I think is broken when I click add comment

http://apps.new.facebook.com/iproposecleveland/iproposecleveland/fb_cb/4...

the following url works
http://apps.new.facebook.com/iproposecleveland/fb_cb/496/comment/reply/40

in_fb_canvas returns 1
get_loggedin_user returns 1135391707
current_url returns http://iproposecleveland.com/fb_cb/496/fb/devel
base_url: http://iproposecleveland.com
base_path: /
session_key is ea7115b13875d4b3ac9cac65-1135391707
Learn more about the current user at fb/devel/fbu/1135391707

Dave Cohen’s picture

I think this patch will solve the problem: http://drupal.org/node/241878

Can you confirm?

gsvitak’s picture

Hi Dave,

thank you this did work in a small unit test. i did not try all of the modules on my site

thanks for the quick responses.

Dave Cohen’s picture

Thanks for confirming. Unfortunately, I think that core patch will be required for FB on D5. In D6, that problem is already fixed.

Letharion’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Since Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 support requests.