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 when trying to get individual public stories #352

Closed
pyk opened this issue Jan 16, 2014 · 2 comments
Closed

error when trying to get individual public stories #352

pyk opened this issue Jan 16, 2014 · 2 comments

Comments

@pyk
Copy link

pyk commented Jan 16, 2014

i'm on Ruby 2.1.0 and koala 1.6.0 .

i'm trying follow along on Graph API wiki but i'm stuck in grab data from individual public sections.

when i'm running based on guide @graph.get_object("7204941866_117111188317384") or using my own id @graph.get_object("702852253072478_100000431291668") its show the same error result .

this is the error trace:

.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/koala-1.6.0/lib/koala/api/graph_api.rb:470:in `block in graph_call': type: GraphMethodException, code: 100, message: Unsupported get request. [HTTP 400] (Koala::Facebook::ClientError)
    from /home/bayu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/koala-1.6.0/lib/koala/api.rb:57:in `api'
    from /home/bayu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/koala-1.6.0/lib/koala/api/graph_api.rb:468:in `graph_call'
    from /home/bayu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/koala-1.6.0/lib/koala/api/graph_api.rb:58:in `get_object'
    from get_public_data.rb:33:in `<main>'

thankyou 👍

@arsduo
Copy link
Owner

arsduo commented Feb 2, 2014

Hmm, that's strange. The first things I'd ask is what the objects are (I'm not sure what you mean by "individual public sections") -- did you post them? On which account and with what privacy settings? Where did you get the access token you used?

Honestly, the best place to ask is the Facebook StackOverflow site -- it's a great resource with a lot of active support, and you'll get a quicker response there. If you're still having this problem and post this there with answers to the questions I asked, you should get some good help.

Good luck!

Alex

@arsduo arsduo closed this as completed Feb 2, 2014
@pyk
Copy link
Author

pyk commented Feb 2, 2014

hai @arsduo , you were right 👍

the issue is in privacy setting, when i try grab some public story it's work now.
sorry, my false.

thankyou 👍

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