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

Post on Wall java spring social facebook page. programmed

$
0
0
Hello everyone.
I explain my problem. I have a website. I created an app on fb and a page linked to that app.
What I do is program each day are posted on the wall of the page some random items. On twitter TwitterTemplate no problem with but in the fb ....
I use this:
Facebook facebook = new FacebookTemplate (AccessToken);
At first I thought that was the right accesToken in Client Token: the app.
But indicates no.
I've been reading and it says that the AccessToken has to be done with a redirect to a website, but want it to be scheduled .. not the browser will be open for the redirection.
I tried on:
FacebookConnectionFactory FBConnect = new FacebookConnectionFactory (AppID, AppSecret);
but then do not know how to link the FacebookTemplate FacebookConnectionFactory.

The Fb app I miss the one to post on the wall of the page. If not required it would eliminate.
I might say as are the steps to publish app by indicating only the App ID and the App Secret or Token Client?
Thanks

Viewing all articles
Browse latest Browse all 145

Trending Articles