The features described as core functionality of this module:

# After logging through Facebook Connect, users can create a local Drupal account
# Users can choose which of their Facebook public information they want to import and synchronize with their Drupal local account, following Facebook Connect API Terms of use

When someone accepts an invite to join the site through an invite sent from FB Connect they end up on the home page. No registration process is initiated.

Is this intended behaviour or do I need to point to a specific url on the FB application settings on Facebook.com?

Comments

HS’s picture

Just one more question. I appreciate your patience, thank you.

I just have my base url in the Post-Authorize Callback URL and Post-Remove Callback URL fields on Facebook's developer application settings. Is that correct?

HS’s picture

How many admins who enabled this module actually invited someone and followed through the invitation process with the invited individual?

If you did not then you would not know the invited friend's experience with the Facebook connect module.

I invited another staff member and watched the process.

1. They see the invite on FB

2. They click invite to become a member

3. They end up on the homepage.

--

The invited Facebook member is not sent through a registration process or doesn't even land on the register or log in page.

The turn out from Facebook referrals are low considering a lot of people have been inviting others to join our site.

This could be the reason.

Have I caught anyone's attention yet?

h.gde’s picture

This happens to me as well, users who accept an invite end up on the frontpage with a 403 Forbidden error. It seems impossible to get the developer's attention as well. Maybe we should shift to the DFF module, does that even work?

HS’s picture

Category: support » bug
Priority: Normal » Critical
HS’s picture

Drupal For Facebook module require Actions module which is not ready for Drupal 6, shockingly. I cant believe some modules have not been ported for D6. Drupal 7 will be out soon..

falieson’s picture

Can we get an update on this? How do I make it so people go to the registration page after accepting the facebook invite?

budda’s picture

The module currently sets the invite destination url to your websites homepage. This is done in fbconnect_render_friends_invite_form() and can be easily changed.

Where should it ideally point to? http://example.com/user/register or maybe some url which auto logs in somebody if they are detected as a facebook user?

HS’s picture

it should initiate a process where the Facebook user is asked to create an account on the site and then merge their FB details as intended.

budda’s picture

Assigned: Unassigned » budda
Status: Active » Needs review

In the fbconnect.module try replacing the following line found in the fbconnect_render_friends_invite_form module.

$url = check_url($base_url);

to

$url = url('user/login', array('absolute' => TRUE));

I figured new members coming from Facebook would not need/want to go to the Register page as they are just clicking the fbconnect image button on the login form. Give the above code change a try.

budda’s picture

Status: Needs review » Fixed

I have committed the above change in destination URL to dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

frdesign’s picture

Does this still work in the latest Drupal 6 version? I looked for this code in the fbconnect_render_friends_invite_form function in the fbconnect.pages.inc file but I don't see it. What I found was

$site = drukpal_to_js(variable_get('site_name', $base_url));

Is this where I set the url an invited person is directed to? In my site I want the user to go to the home page but I want to add some arguments so I can detect whether they came from facebook or not.

For instance regular users go to www.mysite.com but I want facebook invited users to go to www.mysite.com/homepage/facebook_invite. It's the same basic content on both but I want the facebook invite page to have additional content relevant to facebook users.

I don't want to break anything so I was hoping I could get some feedback before I go in and change anything.

Amazing module by the way!