Seems broken? #20

Closed
marcusramberg opened this Issue Jul 10, 2012 · 4 comments

Comments

Projects
None yet
4 participants

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 commented Jul 22, 2012

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

frif commented Jul 22, 2012

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.

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 added a commit to omega/Facebook-Graph that referenced this issue Sep 23, 2012

Owner

rizen commented Nov 15, 2012

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 Nov 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment