We are using LikeView provided in Facebook SDK. Initially when LikeView is tapped it asks for login and gets authenticated and shows me a window to like the object. But now when I try to access the session using Session.getActiveSession()
it gives me a closed session & then when I do Session.openActiveSession(MyActivity.this,true, callback);
it asks me to login again.
Flow is like MyActivity -(contains)->MyParentFragment-(contains)->ChildFragment
My likeview is in MyParentFragment
& I am trying to access Session from a ChildFragment
to post Status Update on Facebook.
Is there a way I can use the same session LikeView used.
EDIT: I want that if user is logged into Fb using Likeview then he should not login again for posting status.