LoginSignup
1
1

More than 5 years have passed since last update.

RM+FacebookSDKで「xxxxxx is not registered as a URL Scheme」って怒られる件

Last updated at Posted at 2014-01-26

【自分メモ】
Rubymotion使ってFB SDKのFBLoginViewを使ってログインしようとした時に、FBSDKLogからこんな表示されて、FBのアプリに飛ばない問題の解決方法。


FBSDKLog: Cannot use the Facebook app or Safari to authorize, xxxxxxxxxx is not registered as a URL Scheme

最初はこう書いてた

Rakefile
app.info_plist['FacebookAppID'] = 'xxxxxxxxxx'
app.info_plist['URL types'] = {'URL Schemes'=>'fbxxxxxxxxxx'}

こうしたら出来た。

Rakefile
app.info_plist['FacebookAppID'] = 'xxxxxxxxxx'
app.info_plist['CFBundleURLTypes'] = [
      { 'CFBundleURLName' => 'fbアプリで設定したBundle ID',
        'CFBundleURLSchemes' => ['fbxxxxxxxxxx'] }
  ]
1
1
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
1
1