How do I PublishAction for someone who is not on my canvas page?

Sep 21, 2007 at 1:57 AM
Based on an action of someone on the canvas page, I would like to call PublishAction for another member of the app. I have the session keys of the users saved, but I can't see to get this to work.

objFBService = New Facebook.Components.FacebookService()
objFBService.ApplicationKey = ConfigurationManager.AppSettings("API")
objFBService.Secret = ConfigurationManager.AppSettings("Secret")
objFBService.UserId = objDatareader("uid")
objFBService.SessionKey = objDatareader("session_key")

objFBService.PublishAction(sTitle, sBody, objImage)

I get an error saying invalid session key. I am not sure if this is because of the bad session key or I am doing something wrong with my code.

- A