3 ms·
My understanding is if you offer facebook login you have to use the facebook SDK.
by kop316 6y ago
My understanding is if you offer facebook login you have to use the facebook SDK.
- dylan604 6y agoisn't that kind of like saying water is wet? how else do you plan to interface with FB if you don't use their SDK?
- kop316 6y agoI was answering the question of "What is the business of the Facebook SDK doing in a thermostat app?". The though process is "Want to offer Facebook Login for Nest" -> "Need to use SDK for it" -> SDK talks to Facebook servers. I have never used the facebook SDK (and have not used the Nest App in a long time) so I don't know personally.
- nicoburns 6y agoThey could have documented an API, which you could call directly. Many services which offer an SDK also offer a raw API which allows you to implement more advanced use cases, or can be used for platforms without SDK support. Or, if you simply don't want to use the SDK.
- toast0 6y agoFB login is OAuth, you could use a generic OAuth library instead.
- leesalminen 6y agoThat is against Facebook’s platform policies. https://developers.facebook.com/policy/ https://developers.facebook.com/policy/
- smt88 6y ago> how else do you plan to interface with FB if you don't use their SDK? FB's API is HTTP-based over the public web. You could interface with it using any HTTP client, even if they didn't document the basic APIs. In this case, the "Facebook SDK" refers to a library in whatever language you're using to connect to their API, which replaces a generic HTTP client in your code.
- ceejayoz 6y ago> how else do you plan to interface with FB if you don't use their SDK? It's standard web-based OAuth under the hood. You can (on a technological level) use the web flow that's intended for websites in a webview, but Facebook forbids it on a policy level.