Post to a facebook page problem
I guess that this is something easy to do but still I cannot figure out how. I use SpringSocial to connect on facebook. The authorization is done successfully and the authorized user is administrator (Manager role) in one facebook page. What I want to do is to post on the wall of that facebook page. To do so I tried to use the following code:
The facebook page id used as the first parameter in the post method has been retrieved via the http call :
PageOperations pageOperations = facebook.pageOperations();
I keep on getting the following exception which is rather very self-explained
Any idea what is going wrong?
org.springframework.social.facebook.api.PageAdministrationException: The user is not an administrator of the page with ID
Thanks in advance.