I think you are doing it right, but you just need to have an authentication problem.
Before commenting or posting, you must be logged in or your session must be active. Check if your session is active or not.
First, call [myDelegate authenticateFacebookUser];and then call the method to post a comment.
source
share