Reputation: 160
I'm wondering whether there's a way to post to Twitter/Facebook (possibly using the iOS built-in accounts) from the Apple Watch?
I'd like to be able to do this within an Apple Watch application - I hope the only way to do this isn't to launch a share screen on the companion application (on the phone).
Thanks,
Josh
Upvotes: 0
Views: 138
Reputation: 10144
You could get around the iOS limitation by making the user log in only once in your iOS companion app. Then build a simple backend where you'll make a request from your WatchKit extension with the parameters to post to the social network.
I think this is the only solution possible without requiring user interaction.
Upvotes: 1
Reputation: 5939
Unfortunately, you're correct. Since there's no way to post without user interaction (otherwise things would get spammy quick), you'll have to use something like Handoff and prompt the user to open your app on their iPhone. There's no Social framework in WatchKit like in iOS.
Upvotes: 1