문제

When I create a facebook app to authenticate android devices, I have to put in a debug hash for testing as well as a hash for my production keystore.

Facebook samples apps on the other hand are intended to work out of the box, this implies that there is a universal android debug hash that exists, or there is an exemption for these apps (based on package name?) on Facebook

insight appreciated, MingLi?

도움이 되었습니까?

해결책

There is no universal debug hash for Android.

I have not personally tried the sample Facebook apps, but Facebook likely makes an exemption for them on the server side of things by some kind of identifier (package name or some kind of authentication done via code).

다른 팁

There's no universal hash. In order to build and run the samples yourself, you need to add your key hash in your developer settings.

See section 4 of the getting started guide on how to do that (it's towards the bottom of section 4, just before the troubleshooting subsection).

https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top