Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-31-2013, 01:55 AM   PM User | #1
Anishgiri
Regular Coder

 
Join Date: May 2010
Posts: 179
Thanks: 0
Thanked 0 Times in 0 Posts
Anishgiri is an unknown quantity at this point
Embedded Tweets

I tried reading the guide in tweeter for oEmbed here https://dev.twitter.com/docs/api/1/get/statuses/oembed
https://dev.twitter.com/docs/embedded-tweets, but I can't get where to put some of the codes. Where will you put this hide_media, hide_thread in your html code?

To embed the Tweet at https://twitter.com/#!/twitter/status/99530515043983360, use:

https%3A%2F%2Ftwitter.com%2F%23!%2Ftwitter%2Fstatus%2F99530515043983360

Where will you put
https%3A%2F%2Ftwitter.com%2F%23!%2Ftwitter%2Fstatus%2F99530515043983360 in your code?

Code:
{
  "type":"rich",
  "width":550,
  "cache_age":"31536000000",
  "height":null,
  "author_url":"https:\/\/twitter.com\/twitterapi",
  "html":"\u003Cblockquote class=\"twitter-tweet\"\u003E\u003Cp\u003ENew fields arrive today for Search API responses: from_user_name and to_user_name. @\u003Ca href=\"https:\/\/twitter.com\/kurrik\"\u003Ekurrik\u003C\/a\u003E explains: \u003Ca href=\"http:\/\/t.co\/HqzmL0hZ\" title=\"https:\/\/dev.twitter.com\/discussions\/3667\"\u003Edev.twitter.com\/discussions\/36\u2026\u003C\/a\u003E ^TS\u003C\/p\u003E— Twitter API (@twitterapi) \u003Ca href=\"https:\/\/twitter.com\/twitterapi\/status\/136541709390708736\" data-datetime=\"2011-11-15T20:30:55+00:00\"\u003ENovember 15, 2011\u003C\/a\u003E\u003C\/blockquote\u003E\n\u003Cscript src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"\u003E\u003C\/script\u003E",
  "version":"1.0",
  "provider_name":"Twitter",
  "provider_url":"http:\/\/twitter.com",
  "url":"https:\/\/twitter.com\/twitterapi\/status\/136541709390708736",
  "author_name":"Twitter API"
}
What is that code above? Should it be included in your page, if so, where should I put it?

Last edited by Anishgiri; 01-31-2013 at 01:57 AM..
Anishgiri is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:40 AM.


Advertisement
Log in to turn off these ads.