Forum QuickConnect Compile error when using facebookOAuthConnectPopup()

Discussion and help relating to PlayerIO's QuickConnect feature, including Facebook Connect and Kongregate Connect.

Compile error when using facebookOAuthConnectPopup()

Postby QiX » September 1st, 2010, 7:09 pm

Hi,
I'm getting this error when trying to use facebookOAuthConnectPopup() method.

1061: Call to a possibly undefined method facebookOAuthConnectPopup through a reference with static type playerio:QuickConnect.


I admit that Flash is my weaker side, so any assistance could be nice.

Thats how I use it:
Code: Select all
private function connectToServer():void {
         PlayerIO.quickConnect.facebookOAuthConnectPopup(
            stage,
            "my_game_id",
            "_blank",
            [],
            handleConnect,
            handleError
         );                   
      }


does it has anything to do with the fact i'm calling the method from within another method? (connectToServer?)
QiX
QiX
 
Posts: 34
Joined: July 22nd, 2010, 4:41 pm

Re: Compile error when using facebookOAuthConnectPopup()

Postby Benjaminsen » September 2nd, 2010, 9:59 am

Hey QiX

For now use the old API, facebookOAuthConnectPopup will start to work in a few days.

/Chris
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Compile error when using facebookOAuthConnectPopup()

Postby Oliver » September 2nd, 2010, 10:56 am

Change of plans, updated api will be available in a few minutes.

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: Compile error when using facebookOAuthConnectPopup()

Postby QiX » September 2nd, 2010, 4:53 pm

Sweet, great!
QiX
QiX
 
Posts: 34
Joined: July 22nd, 2010, 4:41 pm

Re: Compile error when using facebookOAuthConnectPopup()

Postby FlashTeam » September 3rd, 2010, 3:36 pm

Hey!
I have a problem in this function too.
After replacing the old method (facebookConnectPopup), I get the mistake "The QuickConnect settings for the game ... must specify the Facebook Application ID. Currently the Application ID is empty." But I have already set it. What's a matter?
Thanks.
Flash can do it.
FlashTeam
 
Posts: 8
Joined: May 24th, 2010, 6:05 pm

Re: Compile error when using facebookOAuthConnectPopup()

Postby Oliver » September 6th, 2010, 12:02 pm

Hi,

This was an issue with out dns servers, or more correctly, it was an issue with the configuration of them. We're very sorry.

The issue has been fixed, and it should work now though.

Best,
Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: Compile error when using facebookOAuthConnectPopup()

Postby QiX » September 7th, 2010, 2:41 pm

I can confirm its working for me
QiX
QiX
 
Posts: 34
Joined: July 22nd, 2010, 4:41 pm

Re: Compile error when using facebookOAuthConnectPopup()

Postby Normero » November 30th, 2010, 1:17 pm

1061: Call to a possibly undefined method facebookOAuthConnectPopup through a reference with static type playerio:QuickConnect.


I still get that :(


Edit: Nevermind. I copied it from this page, at the bottom.
http://playerio.com/documentation/quickconnect/facebook

It says facebookConnectOAuthPopup,
but it should be facebookOAuthConnectPopup

:D
Normero
 
Posts: 20
Joined: August 14th, 2010, 1:26 pm

Re: Compile error when using facebookOAuthConnectPopup()

Postby Henrik » November 30th, 2010, 1:44 pm

Normero wrote:It says facebookConnectOAuthPopup,
but it should be facebookOAuthConnectPopup

:D

Thanks for spotting it, it's fixed and will be released shortly. :-)
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to QuickConnect



cron