GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
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?
I'm getting the same test failure when trying to install the latest version (1.0401)
Indeed the event used by the test (113515098748988) is no longer public
In this page I found another event that is still public (317497264976561)
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"
Fix #20 by chaning event id as propossed in a comment
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.