Facebook Graph API v2.8 expires April 18th, 2019

Receiving alerts for FB API end of life. I see FacebookAuthProvider.cs designates v2.8.

Question: Does FB automatically upgrade to the next or does SS need to create a new release every time FB deprecates a version?

Is there an easier way to upgrade without having to move to the next SS version? This particular project is on an older version 4.5.14 of SS.

        public static string Realm = "https://graph.facebook.com/v2.8/";


  Your App, blahblahblah.com,
  currently has access to Graph API
  v2.8 which will reach the end of its 2-year lifetime on 18 April, 2019. To ensure a smooth
  transition, please migrate all calls to Graph API v2.9 or higher. Use the API Upgrade
  Tool to understand exactly how this change will impact your app.
  Note: If you do not see any
  impacted calls in the API Upgrade Tool, your app/code may not be affected by
  this upgrade.
  Visit our changelog to
  see the full list of changes in all Graph API versions.

I’ll need to upgrade and test the latest API version.

If you need to support an older version of ServiceStack in many cases you can take and use a local copy of FacebookAuthProvider.cs - which you’re free to do with any ServiceStack code up to the last expiry date of your license.

There might be some internal API changes since v4.5.x, but if there were they’d be very minor.

Ok doesn’t look like any changes are needed except for upgrading the Realm to v3.2 in this commit.

So you should be able to upgrade your OAuth App to v3.2 then you can use the latest v5.5.1 on MyGet or since it’s static you can change it with:

FacebookAuthProvider.Realm = "https://graph.facebook.com/v3.2/";
1 Like