Implemented FacebookErrorHandler to handle facebook-error-codes
[facebook-utils] / src / test / resources / spring / test-facebook-error-handler.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4        xmlns:oauth="http://www.springframework.org/schema/security/oauth2"
5        xsi:schemaLocation="
6            http://www.springframework.org/schema/beans
7            http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
8            http://www.springframework.org/schema/security/oauth2
9            http://www.springframework.org/schema/security/spring-security-oauth2-1.0.xsd
10           ">
11
12
13   <oauth:rest-template id="template" resource="resource"/>
14   <oauth:resource
15       id="resource"
16       type="client_credentials"
17       client-id="EGAL"
18       client-secret="EGAL"
19       authentication-scheme="query"
20       access-token-uri="https://graph.facebook.com/v2.0/oauth/access_token"
21       token-name="oauth_token"
22       scope="read_stream"
23       />
24
25 </beans>