From: Kai Moritz Date: Fri, 21 Mar 2014 14:07:19 +0000 (+0100) Subject: Examples for the data-part of a signed_request X-Git-Tag: facebook-utils-1.0~10 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0f21033118f36088fe36f9954ff1647c120f47c8;p=facebook-errors Examples for the data-part of a signed_request --- diff --git a/src/test/resources/authorized.txt b/src/test/resources/authorized.txt new file mode 100644 index 0000000..053fa3d --- /dev/null +++ b/src/test/resources/authorized.txt @@ -0,0 +1,16 @@ +{ + "algorithm":"HMAC-SHA256", + "expires":1395414000, + "issued_at":1395408941, + "oauth_token":"CAAIkaJs9m0MBAHiXlFfVFvNXnRzITNxl76lidJRBw1TaRjxZC0uQWNAYuPTS24QqIJWav838UXdqtRJGezQzRcsZBkpGeEubKkXfws354VdPGCyjEZBUeuObf0pZAAcGelx4d9LgdOx485oZBeAf3eFvpLnhZBUZBZCnYnTJaKmpxTdIuOH2ijlsPuc36UWL1wcZD", + "user": + { + "country":"de", + "locale":"de_DE", + "age": + { + "min":21 + } + }, + "user_id":"100000503618294" +} diff --git a/src/test/resources/unauthorized.txt b/src/test/resources/unauthorized.txt new file mode 100644 index 0000000..fb4467a --- /dev/null +++ b/src/test/resources/unauthorized.txt @@ -0,0 +1,13 @@ +{ + "algorithm":"HMAC-SHA256", + "issued_at":1394983544, + "user": + { + "country":"de", + "locale":"de_DE", + "age": + { + "min":21 + } + } +}