If Facebook or Google provides an API that's not an open standard, you're locked-in because the day they decide to remove the API, or to charge high prices, or deprecate a crucial feature, you can't switch easily to another platform.
If Facebook or Google provides an API that's not an open standard, you're locked-in because the day they decide to remove the API, or to charge high prices, or deprecate a crucial feature, you can't switch easily to another platform.