Do not lock yourself into third-party services - build your software as generic as possible using interfaces so that you can move it around, unless an open standard is used which would allow you to just plug another service in.
Same advice goes for frameworks, if the company abandons a framework that you've heavily invested in, your project essentially needs a rewrite.
Over the years I've seen many such things happen - just recently when Apple acquired Metaio, Apple shut down everyone's API access leaving many production apps useless (techcrunch.com/2015/05/28/apple-metaio)
Google shutting down Helpouts after some people left their dayjobs to make a business on it full-time: techcrunch.com/2015/02/13/google-pulls-its-helpou…
Same goes for SEO, certain people I know made a living selling stuff on the internet and then Google changed the rules of their search engine and all of a sudden, they got penalised for the SEO they did and had to shut down their businesses due to no longer making sales. People depending on YouTube for an income might face the same fate in the future if Google decides to change the recipe.
If you're building a business, make sure you understand the risk you're undertaking when depending on a third-party provider for anything.