Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with RealtimeUpdates: need "app secret signed session" #16

Closed
arsduo opened this issue Oct 22, 2010 · 2 comments
Closed

Error with RealtimeUpdates: need "app secret signed session" #16

arsduo opened this issue Oct 22, 2010 · 2 comments

Comments

@arsduo
Copy link
Owner

arsduo commented Oct 22, 2010

Hello,

I'm using Koala 0.9.1 with Rails 3.0.1 and Ruby 1.8.7.
I set up Koala with Rails according to the directions in the wiki.

This works fine:

@updates = Koala::Facebook::RealtimeUpdates.new(:app_id =>
Facebook::APP_ID, :secret => Facebook::SECRET)

But when I type @updates.list_subscriptions, I get the following
error:

Koala::Facebook::APIError: OAuthException: (#15) The method you are
calling must be called with an app secret signed session
from /usr/lib/ruby/gems/1.8/gems/koala-0.9.1/lib/koala/
realtime_updates.rb:81:in api' from /usr/lib/ruby/gems/1.8/gems/koala-0.9.1/lib/koala.rb:72:inapi'
from /usr/lib/ruby/gems/1.8/gems/koala-0.9.1/lib/koala/
realtime_updates.rb:78:in api' from /usr/lib/ruby/gems/1.8/gems/koala-0.9.1/lib/koala/ realtime_updates.rb:74:inlist_subscriptions'
from (irb):2

I get the same when I run @updates.subscribe.

Would someone please explain what this means? I tried creating
@updates with the app_access_token and it didn't make any difference.
What is an "app secret signed session"?

Thanks,

Nick

@nickurban
Copy link

Changing application type to HTML5 on the Mobile and Devices tab of the application settings fixed this issue.

@arsduo
Copy link
Owner Author

arsduo commented Dec 23, 2010

Closing.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants