0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UnityでFacebookSDKのAndroidでログインエラーの解決方法

Last updated at Posted at 2021-03-22

概要

UnityでFacebookSDKを使用してAndroidでログインエラーが出てしまう問題の解決方法

問題点

KeyStoreの作り方がFacebookで紹介されているものと別であったため、Unity上で表示されたキーハッシュが間違っていた

解決方法

確実なキーハッシュの取得方法はIResultのRawResultの中に記載されている

// 初期化等は割愛

FB.LogInWithReadPermissions(・・・, OnLogin);


void OnLogin(IResult result)
{
	// こいつを確認する!!!
	Debug.Log($"Raw:[{result.RawResult}]");
}

その他エラー解消のための参考文献

公式
ザ・ゆるふわ
cloudpack.media

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?