javascript - Twitter Photo Card Pulling -


I'm trying to create a Twitter photo card that uses HTML meta tags.

The first problem is, the tag looks something like

   that works (I check the loaded source code of the page). But the Twitter photo card verifier draws the placeholder, and is not up to date. 

How can I fix these two problems?

& amp; Amp; is an HTML escape because its & amp; The marker is in other words, for the beginning of a run, for the character in its HTML source & amp; Amp; This is normal and correct to use

Take a look at this HTML:

  & Lt; A href = "http://chart.apis.google.com/chart?chst=d_text_outline&amp.chld=000000 | 15 | h | FFFFFF | _ | I + flop + want + to + be embarrassed % 2C + so + me + to + people + work + that + claimed + I was + a% 7Clot + ||| "& Gt; With the right link & amp; Amp; Amp; The character in the URL & lt; / A & gt;  

Note that & amp; href in the attribute & amp; Amp; is run as if you see the link in your browser (for example using one), you will see that your browser has interpreted the appended apesand correctly for you. When you click on the URL, it works .

The same applies to the content feature on your Twitter meta tag. Twitter will remove the parameter moving account avoid .

Due to twitter's crawler not being able to execute Javascript, you do not have to use the Twitter app directly, P>

  & lt; Meta property = "twitter: image" id = "photo" content = "{{imageurl}}" />  

Note that Ginja 2 will then be saved correctly from the URL, in which and are set to and. Amp; >, provided you | Do not use secure , so that it actually ran away properly.

In addition, you can not use the chart.apis.google. Com URL in the Twitter photo card, because Google will not be allowed to specifically URL chart.apis.google.com , because they want to download the image to resize , But respect the robots.txt rules set by Google. / P>


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -