Twitter card blocks extra query parameter

cards

#1

Hello,

I have a URL that’s whitelisted for Twitter Cards - All URLs display the card on Twitter, unless they end with: ?__twitter_impression=true

If any URL’s end in /?__twitter_impression=true then I get the following error message:

ERROR: Fetching the page failed because it’s denied by robots.txt.

My robots.txt has the following:

User-agent: Twitterbot
Disallow:
Allow: /?

But it still doesn’t accept any URL’s with an extra query parameter.

Do you know why this is?

Cheers!


#2

I’m not sure if something ending in /?foo=bar is even a valid url. I know that a query url like https://mycompany.com/something?foo=bar is valid.

On the other hand, I haven’t got my app card working yet, so take this comment for what it’s worth. Good luck!


#3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.