Step 1

Enter your contact information.

Step 2

Enter your project information.

Step 3

Choose the PHP programmers you want to hire.

Compare Free PHP Quotes





Country



Getting Started With Twitter’s Embedded Tweets Feature

*Attention PHP Programmers* - Add A Free Listing! Get more clients.

Win a new Compaq Presario Notebook!

Embed a tweet in any webpage

Somewhat lost amidst the news of Twitter’s revamped interface is a slightly more interesting tidbit for web developers: Twitter posts can now be embedded in other pages.

The new Embedded Tweet feature works just like a YouTube movie, offering a short HTML snippet that you can copy and paste into any third-party website. Unfortunately using the Embed Tweet feature from Twitter is somewhat awkward since it’s buried in the new interface. First you need to click on a tweet, then click “details” and then you’ll see the embed option.

The real benefit of the embed feature lies with third party platforms like Twitter’s two launch partners Wordpress and Posterous. Users of both services can now simply paste a link to a tweet and it will automatically be converted to an embedded tweet, no cut and paste necessary. For example, just drop this code in your WordPress.com blog and it will automatically be converted to an embedded tweet:

[tweet https://twitter.com/twitterapi/status/133640144317198338]

If you’d like to implement something similar on your own site Twitter now has an OEmbed endpoint you can query to convert Twitter links to embedded tweets. Those not familiar with OEmbed can check out our OEmbed tutorial, but, in a nutshell, OEmbed is a standard format where you send a URL and the host site then sends back the necessary embed code.

There are three steps to Twitter’s OEmbed process:

  1. Obtain an URL to or ID number of the Tweet you want to render.
  2. Make a request to the GET statuses/oembed endpoint, passing the Tweet URL or ID as a query parameter.
  3. Render the html property of the response, as well as a <script> element pointing to //platform.twitter.com/widgets.js, if you want the embed to be interactive.

If you choose to render the tweet using Twitter’s widgets.js, the raw HTML will be converted into an interactive tweet. The fancy embedded tweet script uses Web Intents to allow users to reply, retweet, or follow the user directly from the embedded tweet. See the Twitter developer site for more details on Twitter’s widgets.js and how to use OEmbed to embedded tweets to your website.

Source http://www.webmonkey.com/?p=53121
Fri, 09 Dec 2011 17:43:48 GMT
Tags: APIs, oembed, Twitter, Web Services,

*Attention PHP Programmers* - Add A Free Listing! Get more clients.


APIs


Thousand of APIs Paint a Bright Future for the Web

Once a novel idea that seemed limited to Flickr, the web-based API is now everywhere you turn — Twitter, Foursquare, Google Maps and thousands of other sites offer up their data in the form of an API. APIs mean that third-party developers can build

Where 2.0: Bing Maps Partners With FourSquare, Fwix Builds Open Places Database

Map nerds unite, this year’s Where 2.0 conference is in full swing and there are already several notable announcements, including a partnership between FourSquare and Bing Maps to create Foursquare Everywhere, and a much improved API from local news

Speed Up Your WordPress Site With Google’s New Page Speed API

Google’s Page Speed testing tool, which recently went from a browser add-on to a web-based tool, now sports a new API. The Page Speed Online API allows outside applications to send URLs to Page Speed and get back a list of things the site developer

oembed


Twitter


Twitter Catches the ‘SPDY’ Train

Twitter is now serving up pages over Google's improved web protocol, making the site a bit speedier in Chrome and (soon) Firefox. Google is hoping that its SPDY protocol, pronounced "speedy," will one day speed up not just Google and Twitter, but the ent

Members:
Daphne
Wild Goose Art Profile
Wild Goose Art

Web Design, Implementation, and Maintenance. PHP, Javascript, JQuery, MySql

Daphne, Alabama US
Athens
erjon Profile
erjon

tattoo shop

Athens, Attica GR
Las Vegas
NetDynamic - PHP/MySQL - Experienced Dev Profile
NetDynamic - PHP/MySQL - Experienced Dev

PHP/MySQL Web Developer 15+ years experience. We are a team of developers and designers. Address: 3513 E Russell Road, Las Vegas, NV Call us: 877-704-0005 or 702-509-5050

Las Vegas, Nevada US
Stockbridge
Secure Website Services Profile
Secure Website Services

Web Design, Graphic Design, SEO, Web Hosting, Servers and Marketing Solutions. Prices start at only $50!

Stockbridge, Georgia US
Stevenage
IceStar Media Ltd. Profile
IceStar Media Ltd.

IceStar Media are a successful team of website designers, IT consultants and software programmers who have a proven track record in designing and delivering reliable business applications and websites

Stevenage, England GB
Design Leads


PHP Programmers Valid HTML 4.0 Transitional Valid CSS!

Big Changes for 2010

I wanted to announce that as of yesterday I am working independently again, focusing my efforts on b



Flickr’s New ‘Photo Sessions’ Bring Back the Slideshow

Flickr has unveiled a new feature dubbed Photo Sessions, which are real-time slideshows you can shar



WAI-ARIA Gets Ready for a Starring Role in HTML5

The W3C's ARIA specification gives web developers a way to annotate pages, assigning "roles" to HTML



New Chrome Add-on Blocks Sites From Search Results

Google has released a new add-on for its Chrome web browser that allows you to block domains and sub



First Look: Mozilla’s Boot2Gecko Mobile Platform and Gaia UI

Sneak a peek at Mozilla's Boot2Gecko project, which aims to develop an entirely new mobile operating



Article Tags
PHP Programmers Articles
Browsers| Web Standards| CSS| firefox| HTML5| Web Basics| Programming| Web Services| Mobile| JavaScript| Web Development| Visual Design| Multimedia| chrome| Google| responsive design| This Week in Web| CSS 3| Opera| Web Apps|
Friends:
Live Help Chat Software
Web Design Quote
Web Design