I’m using facebook API. I want to submit some message to facebook when the app is running in the background. The problem is every time user request or submit a message to facebook, there will show a popup Webview. User need to click it again. So I want to skip this view and submit message in the background . Is this Possible? Can anyone give some suggestions?
Share
Simply request
publish_streampermissions from the user and then you can post on the user’s behalf at any time, even when the user is not actively using your app (of course this is from a previous user request to have something posted on their behalf). Once you havepublish_streamthen do an HTTP POST tohttp://graph.facebook.com/USERID/feed?access_token=AppAccessTokenwith a message post parameter of the message to be posted to their feed.