01-28-2011 01:07 AM
hello every one,
i m using tos.php,loging screen and permission screen are coming.but after clicking allow, i am getting this error
"ThrownValue in ExecuteMethod ReferenceError: "Event" is not defined.
Running at line 3: return Event.__inlineSubmit(this,event)} }."
can some one help me.
01-28-2011 03:14 AM
I have changed the url in login screen constructor from tos.php to login.php
Then by using that i have posted on to facebook. And it worked for 3 day's.
But now i am unable to post data.
Can any one tel me this.....!
01-31-2011 01:18 AM
I have somewhat different problem.
-> When user is new to connect his facebook account with any facebook application then following steps are coming
1) Login page
2) Permission Page
3) SUCCESS page and app ends here.
-> Again if I connect same facebook app with same credentials then:-
1) Login page
2) permission page
3) permission page for second time.
4) app works fine.(messages are posted on wall)
I did following chnages in my facebook applicaiton :-
tos.php -> login.php and things are working correctly.
Now what I should do in order to avoid first time login frustration for any user. If user is accessing first time this app then he has to login and apply permission for twice.
Please help me to correct this issue.
my yahoo mail and chat id : firstname.lastname@example.org
01-31-2011 04:38 AM
have u got access token?.In facebook permission screen when we click on allow button,it call a Event.inlinesubmitEvent()that a cause error, I think it is a web method.In blackberry how we call web method,can some one help me?
01-31-2011 04:43 AM
these error which I get after submission of permission screen
ThrownValue in ExecuteMethod ReferenceError: "Event" is not defined.
Running at line 3: return Event.__inlineSubmit(this,event)} }.
01-31-2011 04:48 AM
Actually I am not getting any errors like this as you have mentioned above. I am working with OS version 4.5. I'm not getting errors or exception just getting an "SUcCESS" screen.
01-31-2011 06:53 AM
anyone knows how to use oAuth 2.0 protocol to get access token? According to the Facebook SDK it should support oAuth 2.0 but i don't see this. We must specify app id,app secret. In Android SDK we don't need app secret. How can we handle this in bb Facebook SDK?
01-31-2011 11:50 AM
Can anyone help with getting this sorted? I can't use jimmd's method as it requires a URLDecoder import, and as I'm still developing, pwerry's solution that doesn't work with the simulator isn't really much help. Can anyone advise me as the best way to go forward?
01-31-2011 02:13 PM
I don't even use the loginScreen class.
I just used the permissionScreen and it redirects to login first and then gets me the accessToken in the redirect URL.
If anyone has any specific questions, PM me.