-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Request failed: unauthorized (401) #6
Comments
I have same problem. |
We have 2 projects now stuck - any chance of getting a fix for this? |
So based on this link its an iOS11 issue - iOS 11 no longer supports using Twitter through the built-in social framework. Instead, you can use Twitter Kit 3 to Tweet, log in users, and use the Twitter API. https://dev.twitter.com/twitterkit/ios/migrate-social-framework Can this plugin be reworked to use Twitter Kit 3? This is important to have a working twitter component |
Should be tag some of the admin guys so they can address this issue, I really need this plugin in my project |
So does the Pull Request solve the problem? Says its to use Twitter Kit 3 but its really only a plist file change.... #7 Any help here would be greatly appreciated - customer still waiting... |
Sorry for the wait. I think that issue is related to your settings in the twitter app you've created. Fill in the Callback URL with "http://localhost:4000" and it should work. |
Thanks @chroa. Worked for me with my ios App. |
I'm still getting this issue even after adding the http://localhost:4000. I've set up it up according to the readme. The Twitter Kit 3 fix is merged into master, yeah? In xcode I am getting this error:
Any ideas? |
@b-d-m-p
|
@bogdanfinn Unfortunately, that isn't working for me. One of the photo plugins I am using doesn't like that 7.0 and won't build with it. If I change it to 8.0, I can build but I am still getting the same 401 unauthorized issue. Any ideas? |
@b-d-m-p config.xml:
package.json:
under plugins:
Make sure that your Fabric Key is in the correct structure in your .plist File of your generated xcode project. I attached my App Settings for the Twitter App: And here is my function for the twitter login:
|
@bogdanfinn Dude, you saved my life. I don't know exactly what was wrong, but following your set up made it work. I think it was either the way the config.xml file was laid out or setting "Call back URL Locked" to "No" that did it. Thank you so much. |
I am glad that I could help you :) Maybe the Readme of this project should be updated for the future... |
Well, one thing was when you install the plugin with the key & secret --variables, it puts them inside |
Hi this error -> Request failed: unauthorized (401) when you try the login() method.
I installed everything according to the docs. Please, I need to fix this, all users are gonna be compromised y this plugin stops working. Here my "ionic info" output:
cli packages:
global packages:
local packages:
System:
The text was updated successfully, but these errors were encountered: