-
Notifications
You must be signed in to change notification settings - Fork 11
Twitter Response HTML
Noitidart edited this page Feb 18, 2016
·
3 revisions
History of Twitter responses, so I can get the image urls
- When I first put togather this tweet thing, the response html was:
one large pic.twitter.com/XSQBnrCO1f
9:41 AM - 17 Aug 2015 · Details
0 retweets 0 favorites
Reply
Retweet
Retweeted
Favorite
Favorited
More
- Share via Direct Message
- Pin to your profile page
- Unpin from profile page
- Delete Tweet
-
Sometime in November to December 2015 - Twitter changed their response after tweet, no longer
data-img-src
it is nowdata-image-url
. The data is now:
now
</div>
<p class="TweetTextSize js-tweet-text tweet-text" lang="en" data-aria-label-part="0">firefox hompeage logo <a href="https://t.co/z2HUimP2v1" class="twitter-timeline-link u-hidden" data-pre-embedded="true" dir="ltr" >pic.twitter.com/z2HUimP2v1</a></p>
<div class="AdaptiveMedia
is-square
"> <div class="AdaptiveMedia-container js-adaptive-media-container
">
<div class="AdaptiveMedia-singlePhoto">
<div class="AdaptiveMedia-photoContainer js-adaptive-photo "
data-image-url="https://pbs.twimg.com/media/CW6DRKKUAAAHsF0.png"
data-element-context="platform_photo_card"> <img src="https://pbs.twimg.com/media/CW6DRKKUAAAHsF0.png" alt="Embedded image permalink"
</div>
3:29 AM - 23 Dec 2015
· Details
<div class="stream-item-footer">
<div class="ProfileTweet-actionCountList u-hiddenVisually">
<span class="ProfileTweet-action--reply u-hiddenVisually"></span>
<span class="ProfileTweet-action--retweet u-hiddenVisually">
<span class="ProfileTweet-actionCount" aria-hidden="true" data-tweet-stat-count="0">
<span class="ProfileTweet-actionCountForAria" >0 retweets</span>
</span>
</span>
<span class="ProfileTweet-action--favorite u-hiddenVisually">
<span class="ProfileTweet-actionCount" aria-hidden="true" data-tweet-stat-count="0">
<span class="ProfileTweet-actionCountForAria" >0 likes</span>
</span>
</span>
<div class="ProfileTweet-actionList js-actions" role="group" aria-label="Tweet actions">
<div class="ProfileTweet-action ProfileTweet-action--reply">
Reply
Retweet
Retweeted
View Tweet activity
<div class="ProfileTweet-action ProfileTweet-action--more js-more-ProfileTweet-actions">
<div class="dropdown">
More
- Share via Direct Message
<li class="user-pin-tweet js-actionPinTweet" data-nav="user_pin_tweet">
<button type="button" class="dropdown-link">Pin to your profile page</button>
</li>
<li class="user-unpin-tweet js-actionPinTweet" data-nav="user_unpin_tweet">
<button type="button" class="dropdown-link">Unpin from profile page</button>
</li>
<li class="js-actionDelete">
<button type="button" class="dropdown-link">Delete Tweet</button>
</li>
</div>
</div>