facebook error code 102 with sdk 3.6

末鹿安然 提交于 2019-12-01 21:10:12

This may not be your problem, but I had this problem when I was trying to presentShareDialogWithOpenGraphAction:actionType:previewPropertyName:handler: with an action type that had not yet been approved by Facebook. When I was using the app with a user that is not an administrator or developer of the app, I would see this error.

Per the note at the top of the Action Type page (accessible from developer.facebook.com > apps > Your App (on left hand side) > Edit App > Open Graph > Types > Your Action Type),

Unsubmitted

This Action Type must be submitted for review in order for it to be available to all users. This Action Type is available to admins and developers of the app.

I met the same problem because I was in sandbox mode for my fb app. So I use my own developer account to login in and it works.

Check Following

  1. FacebookDisplayName is set properly and correct in plist URL Scheme
  2. fbxxxxxxxxxxx is added in the plist
  3. FacebookAppID is set correctly in plist file
  4. in Status & Review section Make sure you have "Do you want to make this app and all its live features available to the general public?" make as YES (By default it's No)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!