Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 495 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Twitter Call back URL

#1
I am working with twitter SDK to integrate with in ios app.When i follow all the step and create the customer key and put it in my app.When I run the app it show
"[TwitterKit] did encounter error with message

> "Error obtaining user auth token.": Error Domain=TWTRLogInErrorDomain
> Code=-1 "<?xml version="1.0" encoding="UTF-8"?><errors><error
> code="415">Callback URL not approved for this client application.
> Approved callback URLs can be adjusted in your application
> settings</error></errors>" UserInfo={NSLocalizedDescription=<?xml
> version="1.0" encoding="UTF-8"?><errors><error code="415">Callback URL
> not approved for this client application. Approved callback URLs can
> be adjusted in your application settings</error></errors>"

How to resolve this?
Reply

#2
I just added on callback url field `twitterkit-<api/consumer Key>://`.
If you have an apiKey like `abc` you should add `twitterkit-abc://`. This work for iOS, for Android just add `twittersdk://`.
Reply

#3
Finally I found the solution for my case. Hope it'll help someone else

Put this in URL Callback field.

**twittersdk://**


Refer:

[To see links please register here]

Reply

#4
My solution: I hope it's useful. [![enter image description here][1]][1]


[1]:
Reply

#5
To Fix this issue do as below:

**[Mandatory]**

Add CallbackURL into the dashboard as below format:

**For iOS:**

twitterkit-CONSUMERKEY://

**For Android:**

twittersdk://

**Help Link:**

[To see links please register here]


[ **Note:** Please replace your consumer key in place of words "CONSUMERKEY" in above format]
Reply

#6
Hey everyone here is a simple fix that worked for me.

Go to:

[To see links please register here]

Go into the settings tab.
Under Terms of Service URL uncheck the box that says:
"Unable Callback Locking"
Now test your app.
Reply

#7
I had the same problem and the TwitterKit documentation is not accurate or Twitter has changed their policies. In any case, on the Twitter Apps site, the callback URL has to be set very specifically. The callback URL should be in the format:

twitterkit-{consumer/api key}://

For example:

twitterkit-128238aKjqlp123AKdasdf://

Also, this needs to be registered in your Info.plist exactly the same:

<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>twitterkit-128238aKjqlp123AKdasdf</string>
</array>
</dict>

More documentation is listed here:

[To see links please register here]

Reply

#8
Go to

[To see links please register here]


Then in the "Settings" tab of your app.
Fill the "Callback URLs" form.

According to this documentation i guess you just have to enter a valid URL :

[To see links please register here]


> NOTE: Although the callback URL will not be requested by Twitter Kit in your app, it must be set to a valid URL for the app to work with the SDK.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through