Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Seems broken? #20

Closed
marcusramberg opened this Issue · 4 comments

4 participants

@marcusramberg

When trying to use Rafl's OAuth2 credential for catalyst, I get Could not fetch access token: Bad Request at /Users/marcus/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Facebook/Graph/AccessToken/Response.pm line 26
and when I tried upgrading facebook-graph, I got this test failure:

t/03_public_query.t ....... 11/14 Could not execute request (https://graph.facebook.com/113515098748988): OAuthException - An access token is required to request this resource. at /Users/marcus/.cpanm/work/1341903435.59545/Facebook-Graph-1.0401/blib/lib/Facebook/Graph/Response.pm line 39

Did Facebook change something?

@frif

I'm getting the same test failure when trying to install the latest version (1.0401)

@frif

Indeed the event used by the test (113515098748988) is no longer public

In this page I found another event that is still public (317497264976561)
http://developers.facebook.com/blog/post/2012/03/14/new-page-apis/

Replacing the two occurrences of 113515098748988 with 317497264976561 in t/03_public_query.t fixed the problem. All test passed and it installed successfully.

@life4beer

Could this fix to the t/03_public_query.t be added to the module itself? Because still if you are installing module from cpan it is failing on "make test"

@omega omega referenced this issue from a commit in omega/Facebook-Graph
@omega omega Fix #20 by chaning event id as propossed in a comment 157ef37
@rizen
Owner

This is caused by Facebook no longer allowing access to events (even public ones) without an access token. I've removed that as a public test in 1.0500.

@rizen rizen closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.