Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Facebook Connect Support Thread


  • You cannot reply to this topic
176 replies to this topic

#41 mirage101

  • Community Member
  • 36 posts
  • Real Name:Ivan Filipov

Posted 10 October 2010, 08:43

Hi guys I put this contribution to my code but when I tried to login with fb login button I get this
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Can someone tell me what caused it and how to fix it?

#42 semaka

  • Community Member
  • 12 posts
  • Real Name:Ilinca Mihai
  • Gender:Male

Posted 11 October 2010, 11:09

Hy...
I've installed this contribution and i'm wondering if someone can help me with the code (without the customer seeing it) for logging out from my site and also from facebook.
Thnks in advance...

#43 Pilloli

  • Community Member
  • 2 posts
  • Real Name:Paoli T.

Posted 18 October 2010, 01:13

Hi, I wanted to know if you can explain the forth step in the instructions, I just can figure out how to Run the database.sql file, in fact, I don't know what to do at that step. The rest of the instruction are pretty much straight forward.

Well thanks for the help!

Edited by Pilloli, 18 October 2010, 01:15.


#44 samsagaz

  • Community Member
  • 27 posts
  • Real Name:Jose

Posted 18 October 2010, 05:04

well looks like dont work very well for me, when i goto login.php and click into the connect with facebook, my browser is redirected to createaccount section of my site :S

someone know why that happend?

#45 Pilloli

  • Community Member
  • 2 posts
  • Real Name:Paoli T.

Posted 19 October 2010, 03:20

I tried everything but when I click on the FB button nothing happens, and I still can't figure out the database step...

Edited by Pilloli, 19 October 2010, 03:21.


#46 myancey260

  • Community Member
  • 7 posts
  • Real Name:Michael

Posted 20 October 2010, 17:02

Am I missing something? I have used facebook apps before, and with logins there needs to be modifications made to the DB... I see in the instructions a SQL query mentioned but I don't see the file included in the zip file. what gives?

#47 andes1

  • Community Member
  • 181 posts
  • Real Name:andrea pataquiva diaz

Posted 21 October 2010, 02:01

View Postmyancey260, on 20 October 2010, 17:02, said:

Am I missing something? I have used facebook apps before, and with logins there needs to be modifications made to the DB... I see in the instructions a SQL query mentioned but I don't see the file included in the zip file. what gives?
ALTER TABLE customers
ADD fb_user_id VARCHAR(32);

#48 myancey260

  • Community Member
  • 7 posts
  • Real Name:Michael

Posted 22 October 2010, 03:21

View Postandes1, on 21 October 2010, 02:01, said:

ALTER TABLE customers
ADD fb_user_id VARCHAR(32);

Outstanding! It works great thanks for the help

#49 mcbsolutions

  • Community Member
  • 164 posts
  • Real Name:Steve Walker
  • Gender:Male

Posted 23 October 2010, 14:24

Hi,
A few questions here. Does this work well with the PWA (purchase without account) mods and I'm assuming it won't interfere with any payment modules such as Paypal IPN or Authorize.net, right?

If I understand how this works, a customer can use their Facebook login details to speed up the checkout process? Is this all it does?

Thanks for the help!

Steve

#50 andes1

  • Community Member
  • 181 posts
  • Real Name:andrea pataquiva diaz

Posted 24 October 2010, 22:04

Quote

Does this work well with the PWA (purchase without account) mods

I DONT KNOW

Quote

it won't interfere with any payment modules such as Paypal IPN or Authorize.net, right

right

Quote

a customer can use their Facebook login details to speed up the checkout process

YES

#51 gavimobile

  • Community Member
  • 18 posts
  • Real Name:gabriel

Posted 25 October 2010, 15:57

could someone gimme a hand here.

i want to create my logout in one page. i tried this, but its not logging me out

<?php
if ($_GET['logout'] == 1){
setcookie('fbs_'.$facebook->getAppId(), '', time()-100, '/', '.sensored_mydomain_is_here.com');
}
?>
here is a pastebin of my single page script including the files from this contribution

http://pastebin.com/B0bpLJte

tia

#52 gavimobile

  • Community Member
  • 18 posts
  • Real Name:gabriel

Posted 25 October 2010, 18:12

View Postgavimobile, on 25 October 2010, 15:57, said:

could someone gimme a hand here.

i want to create my logout in one page. i tried this, but its not logging me out

<?php
if ($_GET['logout'] == 1){
setcookie('fbs_'.$facebook->getAppId(), '', time()-100, '/', '.sensored_mydomain_is_here.com');
}
?>
here is a pastebin of my single page script including the files from this contribution

http://pastebin.com/B0bpLJte

tia
i think i solved my problem but now im expirencing this. Cannot redeclare class FacebookApiException

#53 gavimobile

  • Community Member
  • 18 posts
  • Real Name:gabriel

Posted 26 October 2010, 10:13

View Postgavimobile, on 25 October 2010, 18:12, said:

i think i solved my problem but now im expirencing this. Cannot redeclare class FacebookApiException
ok.. i reinstalled the app into oscommerce from scratch as listed in the instrcutins. however, in iexplorer it automatically goes in to create_account.php even if i dont have any cookies or sessions saved. im not loged in facebook, and ive tried deleting cookkies on computer and going to logoff.php.. still no

#54 andes1

  • Community Member
  • 181 posts
  • Real Name:andrea pataquiva diaz

Posted 27 October 2010, 20:04

[quote

Edited by andes1, 27 October 2010, 20:16.


#55 jasperguy

  • Community Member
  • 2 posts
  • Real Name:Dan

Posted 31 October 2010, 22:43

Hi New to this forum

I used an OSmod to try to setup facebook connect to allow users to login to my site. Nice contribution thanks facebook connect 1.1. However once I log in, I am directed to the registration page with only partial details filled. It seems as if not all fields are filled such as address.

The email address seems to be my Ap ID key so something is not working correctly. This is what appears in the email field:

apps+154827634559254.1076601898.8f826ad7bb7cbe617f7a56e85a5293cc@proxymail.facebook.com

Any advise would be appreciated.

#56 sublok

  • Community Member
  • 24 posts
  • Real Name:J
  • Gender:Male

Posted 01 November 2010, 08:37

New to facebook dev but I have a Question:

Canvas url - should that be set the the create_account.php page?
if the store is running on root and not /catalog/

Edited by sublok, 01 November 2010, 08:41.


#57 sublok

  • Community Member
  • 24 posts
  • Real Name:J
  • Gender:Male

Posted 01 November 2010, 09:45

Never mind - jumped the gun.. The Facebook setting canvas directory needed to be longer and not directly pointed at the create_account.php

As a side note, if a customer is logged in to Facebook, and does not have a user account then they are prompted create a new account (pre-filling the information available )...

However, If the customer has already created an account (*in the case of returning customers, or if they update their email address from their account page), with an email other than their facebook, it does not give the customer the chance to login and automatically redirects them to the create_account page.

Thus if user exists with different email, but logged into Facebook under separate email there is no way for them to login with the non-Facebook email. It just loops on the login.php page...

Since we do heavy marketing and advertising through a variety of channels, thus it could confused those already registered under a different email.

Is there a work around for this?

Edited by sublok, 01 November 2010, 09:47.


#58 jasperguy

  • Community Member
  • 2 posts
  • Real Name:Dan

Posted 02 November 2010, 08:08

Ok part of the problem to my last post found for anyone who may come across this.

The email is a proxy email that Facebook sets based on the user setting of the person that is trying to join.

So you get something like app+...@proxymail.facebook.com.

To resolve this is directly related to the first initial login of the facebook user. When they click Facebook Connect login on your site, the popup will ask the facebook user if they want to allow you permission to their details.

NOW if the facebook user does not use the dropdown box to specify their real email, what happens is that the proxy email is given to your OScommerce create_account page. If they do use the dropdown box and select their real email, you will get that populated to your account page.

I am still looking for the answer on how to auto-populate all the other fields such as Address, City, State.

Any one there to help!

#59 gavimobile

  • Community Member
  • 18 posts
  • Real Name:gabriel

Posted 02 November 2010, 22:02

im having an issue that when a logged in user logs out, than returns to login.php, login.php will refresh itself at least 30 times. what i believe it is doing in firefox is searching for old or previous cookies. if my theory is wrong than it would mean logout.php doesnt work.

what can i post for you to get assistance.

thanks in advance

#60 andes1

  • Community Member
  • 181 posts
  • Real Name:andrea pataquiva diaz

Posted 02 November 2010, 23:10

Quote

it would mean logout.php doesnt work.

logout works good, give the customer the choice to finish his FB session if he wants.

when a customer logout from your store, that does not mean that he wants to finish his FB activities; for that reason is good to give him this choice on logout page...

a simple link to FB CAN DO THAT!

watch this video

facebook oscommerce