Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1

Thread: Embedded Tweets

  1. #1
    Regular Coder
    Join Date
    May 2010
    Posts
    215
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.


 

LinkBacks (?)

  1. 03-24-2014, 03:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •