Quantcast
Channel: Spring Community Forums - Social
Viewing all articles
Browse latest Browse all 145

XML Config

$
0
0
Hi,

I only need to get some Facebook page albums. So, no need for any connection repository.
Based on the spring-social-showcase-xml Example on GitHub I used the XML namespace facebook:config.

Code:

<facebook:config app-id="${facebook.appId}" app-secret="${facebook.appSecret}" app-namespace="myapp" />
But getting this exception:
Code:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name '__facebookApiHelper': Cannot resolve reference to bean 'usersConnectionRepository' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'usersConnectionRepository' is defined
How to avoid this connection repository when I don't need it?

Best regards
Danny.

Viewing all articles
Browse latest Browse all 145

Trending Articles