I am trying to validate twitter player card. When i insert player meta tag in validator and click update it returns me changed url. Every ampersand is encoded and i think that is the reason my flash player can’t read GET parameters. So basicaly “&” is replaced with “& amp;” and i am receiving parameters with wrong names (ex. “amp;link” or “amp;title”). Is there an easy way this can be solved? And is there a way to know is this the reason i did not get verified? Is there a way to know the mani reason why is player not verified?

this is the link i am posting to player card validator:
https://voicebo.com/VoiceBoPlayerTest.swf?title=test+for+twitter+player+card&link=http%3A%2F%2Fvoicebo.com%2Fwwe9QS&audiolocation=http%3A%2F%2Fcdn.voicebo.com%2F12810-ffeefa20f51a830307b739805643891b.mp4&imagelocation=http://cdn.voicebo.com/a_67021_bf4335b333f7cb30a32d7222da24ae38_s.jpg&username=simkesd&autostart=on&totaltime=7&imagewidth=&imageheight=&v=1

this is the link i am getting after clicking update preview on player card validator:
https://voicebo.com/VoiceBoPlayerTest.swf?title=test+for+twitter+player+card&link=http%3A%2F%2Fvoicebo.com%2Fwwe9QS&audiolocation=http%3A%2F%2Fcdn.voicebo.com%2F12810-ffeefa20f51a830307b739805643891b.mp4&imagelocation=http://cdn.voicebo.com/a_67021_bf4335b333f7cb30a32d7222da24ae38_s.jpg&username=simkesd&autostart=on&totaltime=7&imagewidth=&imageheight=&v=1

Thanks in advance

1 Like

Same problem.
I set meta tag like this,

<meta name="twitter:player" content="https://sample.com/#/contents/test">

I got an error…

Error: Not Found The requested URL /%23/contents/test was not found on this server.

This is an 8 year old thread, so I suspect this is something different.

Where are you getting that error from?

Do you have a resource that the cards crawler can fetch at the URL you have specified?

1 Like

Hi Andy!

My website contains # in the URL because I’m using Nuxt static hosting.

I have configured nuxt.config.js as follows

export default {
  head: {
    meta: [
      { hid: 'og:title', property: 'og:title', content: 'Sample' },
      { hid: 'twitter:card', name: 'twitter:card', content: 'player' },
      { hid: 'twitter:player', name: 'twitter:player', content: 'https://sample.io/#/contents/sample' },
      { hid: 'twitter:player:width', name: 'twitter:player:width', content: '500' },
      { hid: 'twitter:player:height', name: 'twitter:player:height', content: '500' },
    ]
  }
}

Then I checked with Card Validator and was able to display the card, but when I access the content, I got an Error.


Error: Not Found

The requested URL
/%23/contents/sample?autoplay=1&autoplay=true was not found on this server.


The problem is that the URL in twitter:player is encoded.

How do I resolve this?

I’m guessing that you may need to find a way to link to the content without an encoded character in the URL. I’m not aware of any changes planned on the Twitter side.

We will of course be exploring ways to do that, but it seems to me that there are many examples and other examples where we would like to add parameters to the URL.