Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Twitter OAuth failure - "Error parsing a meta element's content" #26

Open
grantgumina opened this issue Mar 26, 2016 · 3 comments
Open

Comments

@grantgumina
Copy link

I posted this on the Parse Server project page and was recommended I move the issue to this project instead.

I'm attempting to add Twitter authentication to my Android application, but I'm running into the following issue when I call the ParseTwitterUtils.logIn method. Via Logcat, I can see the following output:

03-21 13:19:32.775 24141-24141/com.vearlo I/chromium: [INFO:CONSOLE(8)] "The value "device-width;" for key "width" is invalid, and has been ignored.", source: https://api.twitter.com/oauth/authenticate?oauth_token=hrWTEAAAAAAAuLuOAAABU5rVEyg (8)
03-21 13:19:32.775 24141-24141/com.vearlo I/chromium: [INFO:CONSOLE(8)] "The value "1.0;" for key "initial-scale" was truncated to its numeric prefix.", source: https://api.twitter.com/oauth/authenticate?oauth_token=hrWTEAAAAAAAuLuOAAABU5rVEyg (8)
03-21 13:19:32.775 24141-24141/com.vearlo I/chromium: [INFO:CONSOLE(8)] "The value "1.0;" for key "maximum-scale" was truncated to its numeric prefix.", source: https://api.twitter.com/oauth/authenticate?oauth_token=hrWTEAAAAAAAuLuOAAABU5rVEyg (8)
03-21 13:19:32.776 24141-24141/com.vearlo I/chromium: [INFO:CONSOLE(8)] "Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.", source: https://api.twitter.com/oauth/authenticate?oauth_token=hrWTEAAAAAAAuLuOAAABU5rVEyg (8)

This line: Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.", seems to be the culprit.

Has anyone seen a similar issue? Facebook login works fine.

@grantgumina
Copy link
Author

Anyone? If it helps, I'm hosting a Parse Server instance on Heroku and the app.json file has the followig info:

"oauth": {
    "twitter": {
      "consumer_key": "REDACTED",
      "consumer_secret": "REDACTED"
    },
     "facebook": {
      "appIds": "REDACTED"
    }
  }

@mkpazon
Copy link

mkpazon commented Aug 1, 2016

The error can be ignored. I solved my twitter login problems by filling the consumer key and consumer secret when constructing the ParseServer object in the index.js. Follow the solution here .

@shadialian
Copy link

I filled the keys in index.js but i am still getting the error on my android application.
I/chromium: [INFO:CONSOLE(8)] "Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.", source: https://api.twitter.com/oauth/authenticate?oauth_token=19d16gAAAAAAxnuNAAABV_D-Uqc (8)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants