I'm trying to develop a share extension that uses Facebook SDK to post status updates to user's wall.
The problem: user is already logged in on the main app but when I run the share extension target, Facebook access token becomes nil (not authenticated). When I try to request a login from the share extension it opens Facebook app but goes back to the main app - so the current session was lost.
Here's what I tried already:
- Enable app groups compatibility (both targets belong to same group)
- Added Facebook required info on share extension's plist file
- Added the share extension bundle id on Facebook app settings page
Still no luck so far. I am just dropping this to get ideas and suggestions. Maybe other already implemented something like this.
Thanks in advance!