Chris Hannah
My little piece of the internet

Currently Listening

Social Media Accounts No Longer Integrated into iOS 11

Starting in iOS 11, users will no longer be able to associate social media accounts, such as Twitter or Facebook into the Settings app.

Previously, users could add an account to Settings, which would then allow other apps to request these details as authentication. Which was quite useful, as there are a lot of apps/services that authenticate via Twitter, and this meant you didn’t have to keep entering your password.

There is an alternative that developers can use, and that is the built in Keychain that can be used to store authentication details, such as username or password. And they can combine this together with the new additions to in app autofill, so that stored details can be loaded into the login form automatically.

This also means that the Social app framework, that developers used to initiate content sharing to built-in social networks has changed. Instead of providing a simple way to post to LinkedIn, Weibo, Facebook, is Twitter, it is now a generalised framework that can be manipulated to be used with any social account.

From the documentation:

On iOS and macOS, this framework provides a template for creating HTTP requests. On iOS only, the Social framework provides a generalized interface for posting requests on behalf of the user.

A common way to use this framework is:

  • Create a network session.
  • Get the activity feed for a user.
  • Make a new post.
  • Set properties on a post, add attachments, etc.
  • Publish a post to an activity feed.

So it’s still helpful, in that it can be used in more ways than before, and a general interface is also provided. But from the point of view of something like Twitter that was previously integrated, it will be a bit more work to integrate.

Reply via Email