01May 2011: the App Store reviews
Back in May 2011, I woke up to a lot of one-star reviews on the App Store. The Facebook integration in our app had stopped working overnight. It wasn't just our app either. CNN, Weather Channel and thousands of other apps were affected when Facebook deprecated its REST API. Millions of users were affected.
I've dealt with plenty of SDK and platform changes in over 20 years of mobile development, but I still remember that particular Facebook migration.
02Facebook's REST API deprecation
Back in 2011, Facebook's REST-based API was the backbone of social features in iOS apps. Then, without adequate warning for many developers, it stopped working. The official Facebook iOS SDK wasn't yet mature, and developers scrambled to migrate.
What went wrong:
- Many developers weren't monitoring Facebook's developer roadmap
- The migration path wasn't straightforward
- App Store review times meant fixes took days to reach users
- Users blamed app developers, not Facebook
The lesson: Platform dependencies are liabilities. Every third-party API is a potential point of failure.
03A Pattern Emerges
Over the years, I've witnessed this pattern repeat:
| Year | Platform | Breaking Change | Impact |
|---|---|---|---|
| 2011 | REST API deprecation | Millions of apps broken | |
| 2014 | Apple | iOS 8 extensions | Major architecture rewrites |
| 2016 | Apple | App Transport Security | HTTP apps rejected |
| 2019 | Apple | UIWebView deprecation | Thousands of app updates |
| 2020 | Background location changes | Privacy-focused rewrites | |
| 2023 | Twitter/X | API pricing changes | Third-party clients killed |
| 2024 | Apple | Required Privacy Manifests | Compliance scramble |
04Building Resilient Applications
1. Abstract Your Dependencies
Never let third-party SDKs touch your core business logic directly.
// Bad: Direct SDK coupling
class ProfileViewController {
func shareToFacebook() {
FBSDKShareDialog.show(from: self, content: content)
}
}
// Good: Abstraction layer
protocol SocialShareService {
func share(_ content: ShareableContent) async throws
}
class FacebookShareService: SocialShareService {
func share(_ content: ShareableContent) async throws {
// Facebook-specific implementation
}
}
When Facebook changes their SDK (and they will), you only update one file.
2. Monitor Deprecation Roadmaps
Every major platform publishes deprecation timelines:
- Apple: WWDC announcements, developer documentation
- Google: Android developer blog, API sunset schedules
- Meta: Developer roadmap, changelog
- AWS/Cloud: Service announcements, migration guides
Set calendar reminders. Subscribe to developer newsletters. Make it someone's job to watch for changes.
3. Plan for the Worst
Assume any external API could disappear tomorrow:
- Cache aggressively, Don't rely on real-time API availability
- Implement fallbacks, What happens when the social login fails?
- Feature flags, Disable broken features instantly without app updates
- Graceful degradation, The app should work (partially) without every integration
4. Version Your API Contracts
If you're building APIs, be the platform you wish others were:
/api/v1/users → Deprecated, sunset date: 2025-06-01
/api/v2/users → Current stable
/api/v3/users → Beta, breaking changes possible
Give consumers clear timelines and migration paths.
05The Modern Landscape
Today's challenges are different but the principles remain:
GraphQL Migrations
REST to GraphQL migrations are common now. The abstraction principle still applies, wrap your network layer so the rest of your app doesn't care about the underlying protocol.
AI API Volatility
AI services like OpenAI, Anthropic, and Google change rapidly. Model versions get deprecated, pricing changes, and capabilities shift. Treat AI APIs with extra caution:
- Cache responses where appropriate
- Implement fallback models
- Abstract the AI provider behind your own interface
Privacy-Driven Changes
Apple's App Tracking Transparency, Google's Privacy Sandbox, GDPR, and similar regulations drive constant API changes. Build privacy-first from the start. It's easier than retrofitting.
06What I would do differently today
These are the practices I wish I had in place before that 2011 migration:
- This will happen again, Build systems that expect change
- Users don't care whose fault it is, They'll blame you regardless
- Speed of response matters, Have deployment pipelines ready
- Documentation is survival, Future you needs to understand current you's code
- Relationships matter, Know people at the platforms you depend on
07Preparing for the next deprecation
We can't expect the APIs our applications depend on to remain unchanged. The question is how much work we need to do when they change.
An abstraction layer, a fallback, and a tested release process give the team options when a platform changes.
Twenty years in, I still get that sinking feeling when I see a deprecation notice. An abstraction layer gives me a better chance of handling the change without rewriting the rest of the app.
Originally written in 2011 as "Facebook Deprecated APIs won't work", updated and expanded with 14 additional years of hard-won experience.