Pinterest login through app

我怕爱的太早我们不能终老 提交于 2019-12-07 09:55:45

The message is pretty explicit: Invalid Application ID.

Have you added the URL Type?

Using this initializer:

PDKClient.configureSharedInstanceWithAppId("0000")

and this OAuth:

let permission = [PDKClientReadPublicPermissions]
PDKClient.sharedInstance().authenticateWithPermissions(permission,
    withSuccess: { (pdk :PDKResponseObject!) -> Void in
        println("success PDKResponseObject: \(pdk)")
    }) { (err :NSError!) -> Void in
        println("error NSError: \(err)")
    }

and assuming your client_id is correct, you should be in business.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!