Skip to content

Commit

Permalink
fixing facebook changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rizen committed Sep 1, 2010
1 parent 6a0e6f0 commit 8ebb15d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changes
@@ -1,3 +1,7 @@
0.0702 September 1, 2010
- Facebook changed their API slightly and it broke stuff, so that is now fixed.
- Added link to the cookbook from the main page.

0.0701 August 17, 2010
- Added a link to the talk I gave at MadMongers about Facebook::Graph. It could be useful to people getting started with Facebook::Graph.

Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Expand Up @@ -3,7 +3,7 @@ author = JT Smith <jt@plainblack.com>
license = Perl_5
copyright_holder = Plain Black Corporation
copyright_year = 2010
version = 0.0701
version = 0.0702

[@Classic]

Expand Down
2 changes: 2 additions & 0 deletions lib/Facebook/Graph.pm
Expand Up @@ -290,6 +290,8 @@ Get some info:
This is a Perl interface to the Facebook Graph API L<http://developers.facebook.com/docs/api>. With this module you can currently query public Facebook data, query privileged Facebook data, and build a privileged Facebook application. See the TODO for all that this module cannot yet do.
For example code, see L<Facebook::Graph::Cookbook>.
B<WARNING:> The work on this module has only just begun because the Graph API itself isn't very new, and I'm only working on it as I have some tuits. Therefore things are potentially subject to change drastically with each release.
Expand Down
2 changes: 1 addition & 1 deletion t/03_public_query.t
Expand Up @@ -27,5 +27,5 @@ is($sarah->{type}, 'user', 'she is a user');
my $error_query = eval { $fb->query->select_fields('')->request->as_json };
is(ref $@, 'ARRAY', 'exception thrown is an array');
is($@->[0], 400, 'exception inherits http status code');
is($@->[1], 'Could not execute request (https://graph.facebook.com?fields=): GraphMethodException - Unsupported get request.', 'exception gives good detail');
is($@->[1], 'Could not execute request (https://graph.facebook.com?fields=): OAuthInvalidRequestException - Unsupported get request.', 'exception gives good detail');

0 comments on commit 8ebb15d

Please sign in to comment.