Closed GoogleCodeExporter closed 8 years ago
I hope on return url you are making a call like this
AuthProvider provider = manager.connect(paramsMap);
and getting above manager from session.
After that you can make a function call
provider.updateStatus(statusMessage
If you want to save token you can call provider.getAccessGrant() and save this
object. You can use it later.
Original comment by tarun.na...@3pillarglobal.com
on 27 Sep 2013 at 2:39
Hi Can you give me a method to save a post on facebook wall. I am looking at
something that will let me upload a image like our company icon with links and
something that will set the privacey to self
Original comment by sudham...@gmail.com
on 28 Sep 2013 at 10:33
I have already used updateStatus but we are looking at
1. com.restfb.DefaultFacebookClient(oauth_token).publish("me/feed",
FacebookType.class, Parameter.with("name",""), Parameter.with("caption","" ),
Parameter.with("picture", ""),Parameter.with("message",""),
Parameter.with("privacy", "{'value' : 'CUSTOM','friends':'SELF'}"));
2. How can I get the oauth_token with socialauth?
Original comment by sudham...@gmail.com
on 29 Sep 2013 at 5:07
You can call
AuthProvider provider = manager.connect(paramsMap);
AccessGrant ag = provider.getAccessGrant();
String oauth_token = ag.getKey(); //here you'll get access token.
You can also upload image with socialauth using provider.uploadImage()
Regards
Tarun
Original comment by tarun.na...@3pillarglobal.com
on 1 Oct 2013 at 2:29
Closing the issue.
Original comment by tarun.na...@3pillarglobal.com
on 15 Oct 2013 at 12:14
what is paramsMap and manager in this
Original comment by ldsing...@gmail.com
on 16 Feb 2015 at 5:36
Original issue reported on code.google.com by
sudham...@gmail.com
on 26 Sep 2013 at 1:15