background preloader

Social Services APIs

Facebook Twitter

Modifying rate limits under serious load - Twitter API Announcem. Hi everyone, as you all know, Twitter has been faced with considerable capacity problems in recent weeks. we have many efforts under way to expand capacity and more efficiently use the capacity we have. starting today, we're going to begin adjusting rate limits dynamically under load in order to maintain an awesome experience for as many users as possible. today, we're experimenting with moving rate limits for all clients to varying amounts during periods of high load. you might see rate limits change from the default of 350 calls / hour. you may even see different values as we monitor the effect these changes have on overall Twitter performance. this means that it's more important than ever for client applications to monitor their rate limits through the HTTP headers and account/rate_limit_status and adjust your client's behavior accordingly. we're happy to help you achieve that, and please reach out to us if you need that help (either through this mailing list, or through @twitterapi).

Please check you are using the correct API and host - Twitter API Announcements. Connect/Implementing Facebook Share. Using The Delicious API With Yahoo Accounts | A Dash Of Web Deve. On October 19th, Delicious announced that they began support of Yahoo IDs. Unfortunately, that blog post did not mention how this affects using the Delicious API. At the time of writing this, there is no mention at all in the Delicious API docs either. I am working on integrating Delicious within an existing application, so I decided to create a test account. That’s when I first ran into issues with the Yahoo integration because I was required to go through the ridiculous Yahoo registration process instead of the previous Delicious sign up. After trying a million different usernames and getting the initial CAPTCHA wrong, I had an account and my testing could begin.

My script was not successfully adding a bookmark, so I tested it directly in the browser and realized I couldn’t log in. I ran into a thread of people having the same issue, and then I stumbled across a Yahoo developer forum thread that clued me in on the comments that appeared in the blog post about the integration. Oauth - Project Hosting on Google Code. OAuth and Twitter. Earlier last month, Twitter released OAuth access to their site and to the API. Excited about the possibility of integrating some DigitalChalk functions with Twitter, I decided to take a couple of hours to play around with it and see what it offered.

There are lots of examples on the Twitter API site, but none of them are in Java. What? Really? For my implementation example I am using a Java OAuth library written by John Kristian, Praveen Alavilli and Dirk Balfanz.You must get your Consumer Key and Consumer Secret by registering your application on Twitter.com The goal is to get an Access Token and Secret that you can use to read and/or write to a Twitter users information without having to ask for their username and password everytime. Twitter will generate a Request Token and Token Secret and send them backSave the Request Token and Token Secret off for later use. Public String getAuthorizeUrl(String token, String callbackUrl, Map. High level AS3/Flex library for OAuth with Twitter. Recently I have played again with the Twitter API and finally have OAuth working.

When I have first played with the Twitter API I have used the example from Tour de Flex. The example loads up the friends list and uses the Twitter AS3 API. The API is not really my taste but offers the functionality to build a Twitter client application. However when you want to have your client application to show up as the source of tweets you have to use OAuth for user authentication.

After a bit of research a came across the awesome open source library oauth-as3. To use OAuth in your Twitter application you need a consumerKey and consumerSecret which you can get after the registration of your client app: or go to your settings and select the “Connections” tab for an overview and further links. So how does it work? I have build a high level AS3/Flex library for OAuth which is hosted on github.

Here a little semi pseudo code example: Links. OAuth Class for Flex. News about what I am developing and other random thoughts Having just completed a simple class to handle OAuth secure authorisation used by twitter.com and others, I thought I would upload it for others to use. Its quite simple to use (I have tried to make it as simple and straightforward as possible) and there is an example FlexBuilder project that shows how the class is used with twitter. Basic usage is split into two parts … 1) the actual request for authorisation: 2) future requests using saved authorisation tokens: I am currently working on integrating this into my twitter client, twitcher , but there are tricky user interface issues I need to decide upon before it can be completed.

Hopefully it won’t be too long and then twitcher will be one of the few (if not the only) twitter desktop app that supports oauth. Validating URL Links and Reusing Exceptions. LongURL | The Universal Way to Expand Shortened URLs. Mzsanford's twitter-text-java at master - GitHub. Overview (Twitter Text API) Link wrapping on the API - Twitter API Announcements | Google Gr.

Hi all. twitter has been wrapping links in e-mailed DMs for a couple months now. with that feature, we're trying to protect users against phishing and other malicious attacks. the way that we're doing this is that any URL that comes through in a DM gets currently wrapped with a twt.tl URL -- if the URL turns out to be malicious, Twitter can simply shut it down, and whoever follows that link will be presented with a page that warns them of potentially malicious content. in a few weeks, we're going to start slowly enabling this throughout the API for all statuses as well, but instead of twt.tl, we will be using t.co. our current plan is that no user will see a t.co URL on twitter.com but we still have some details to work through. the links will still be displayed as they were sent in, but the target of the link will be the t.co link instead. and, we want to provide the same ability to display original links to developers. we're going to use the entities attribute to make this possible.

Facebook’s Open Graph Protocol. David Recordon of Facebook has an interesting post titled Why f8 was good for the open web where he talks about how some of Facebook’s announcements at their recent F8 conference increase the openness of the Web. He calls out the following four items as the key benefits to the web as a whole from the F8 announcements No 24-hour caching limit An API that is realtime and isn’t just about content The Open Graph protocol OAuth 2.0 Of these, the third seems to me to be the most beneficial to the Web as a whole. The first, second and fourth items are really about benefits to Facebook developers. Although I guess you could argue that such a significant service adopting OAuth 2.0 is great for increasing adoption across the Web. However this pales in comparison to the fundamental shifts in thinking introduced by the Open Graph Protocol.

The first question is what problem does the Open Graph Protocol solve for Facebook and why are they releasing it? Figure 1: The Facebook Social Graph in 2006. Developer's Guide - Portable Contacts API - Google Code. How to get the authenticated user's name, email, etc.? - Google Apps APIs Help. Registration for Web-Based Applications - Authentication and Aut. OAuth in the Google Data Protocol Client Libraries - Google Data. Warning: Most newer Google APIs are not Google Data APIs. The Google Data APIs documentation applies only to the older APIs that are listed in the Google Data APIs directory. For information about a specific new API, see that API's documentation. For information about authorizing requests with a newer API, see Google Accounts Authentication and Authorization.

This document describes how to use the Google Data API client libraries to connect to Google's OAuth Authentication for Web Applications. The OAuth interface allows a web-based application to access a Google service on behalf of a user. To maintain a high level of security, OAuth enables the application to get an access token without ever handling the user's account login information. The Google Data API client libraries provide methods to help you use OAuth in your web application. Contents Audience Using 3-legged OAuth and Google Data APIs without the client libraries Registering your web application 1. 2. Multi-scoped tokens Java if (! OAuth API Reference - Authentication and Authorization for Googl. The first section in this document describes how to migrate your code from OAuth 1.0 to OAuth 2.0.

The rest of the document describes Google's implementation of the deprecated OAuth 1.0 open standard for authorization, and explains how to implement OAuth 1.0 in an application. Contents Migrating from OAuth 1.0 to OAuth 2.0 This section describes how to migrate your application from OAuth 1.0 to OAuth 2.0, without the need for end-user intervention. After migration, your application can stop using the OAuth 1.0 library and can access resources using OAuth 2.0 tokens. Prerequisites for this migration: Your application must have a valid OAuth 1.0 access token (which implies that your application has a valid grant).Your application must have an OAuth 2.0 client ID and client secret. To find your OAuth 2.0 credentials in the Google Cloud Console: Go to the Google Cloud Console. The flow is as follows: Sending a migration request Signed-request flow for migration Request Response About refresh tokens: OAuth Playground. Important: OAuth 1.0 was officially deprecated on April 20, 2012, and is no longer supported.

We encourage you to migrate to OAuth 2.0 as soon as possible. OAuth documentation This document describes how to get started using Google's implementation of the OAuth protocol to authorize a web application's requests for access to a user's data. If instead your application is installed on a computer or a mobile device, you should read the documentation on OAuth for Installed Apps. Prerequisites This document is written for web application developers using the Google Data APIs to access a user's data. OAuth 1.0 for Google accounts is going away.

Schedule for user-visible changes to the approval page: The OAuth authorization process The OAuth authorization process involves a series of interactions between your web application, Google's authorization servers, and the end user. At a basic level, the process is as follows: If the user is not already logged in, Google prompts the user to log in. Authentication in the Google Data Protocol - Google Data Protoco.

Warning: Most newer Google APIs are not Google Data APIs. The Google Data APIs documentation applies only to the older APIs that are listed in the Google Data APIs directory. For information about a specific new API, see that API's documentation. For information about authorizing requests with a newer API, see Google Accounts Authentication and Authorization. Third-party applications often require limited access to a user's Google Account for certain types of activity. Authentication services allow users to sign in to your application using a Google Account. Authorization services let users provide your application with access to the data they have stored in Google applications.

Authentication and authorization services are often referred to collectively as auth. Authentication and authorization for Google APIs allow third-party applications to get limited access to a user's Google accounts for certain types of activities. Contents OAuth - authorization for web and installed applications. Windows Live Contacts API - Beta 1.0. Getting Your Application ID for Delegated Authentication. To implement Windows Live ID Delegated Authentication, you must register your Web site with Microsoft® as an application and receive a client ID for use with the service. Only a person who has a valid Windows Live ID can register an application and receive a client ID.

After you have registered your application, it can access information from other Windows Live ID services. You can sign in and change most of your application's registration settings at any time. The Windows Live application management site assists you with the registration process, issues your client ID to you, and provides a place where you can continue to manage all the applications you register. To get your client ID Go to the Windows Live application management site. To e complete the integration of your application with Windows Live, you must specify additional settings and publish your application. Whenever you want to retrieve or change your application data, return to the Windows Live application management site.

Windows Live ID Delegated Authentication SDK for Application Pro. Windows Live™ provides a wide variety of Web services and sites, but we recognize that it can't provide every Web service needed by every user. Many sites like yours—which we call application providers—want to help expand Windows Live by creating an even greater variety of Web services and sites. These application providers also want to take advantage of Windows Live ID authentication to prove to Windows Live services that a trusted relationship exists between the user and their sites. With Windows Live ID Delegated Authentication version 1.2, you can develop an application that acts on behalf of a Windows Live ID user to access Web services and sites that use Windows Live ID authentication. There are millions of registered Windows Live ID users, and you can create applications that offer them personalized access to their content on other Windows Live services and sites. It's easy to start using Delegated Authentication on your site.

Register your application. Ready to begin? Services. Contacts API. Using the data in your application In order to access Contacts data in your application, you’ll need to get a Yahoo API key and configure it to use Contacts. You can do this by creating a project for your application. Create a Project TLS/SSL Connections Required for Calls to the Yahoo Contacts API To safeguard user data and authenticate API calls, we are limiting all access to the Yahoo Contacts API to secure SSL connections only.

Rate Limits Use of the Contacts developer service should not exceed reasonable request volume. Request higher rate limits If you believe your application will exceed the rate limit, please contact us to request a higher rate limit for your application. By using the Contacts developer service, you agree to the Terms of Use. Introspective GUID. Step by Step Guide to Delicious OAuth API. Download Delicious_OAuth.zip - 141.01 KB Introduction After merging with yahoo, Delicious's account registration is done using yahoo account. Moreover OAuth has been introduced for accessing Delicious's API.

A guideline has been provided in Delicious's help page at describing the steps to use their API, but that is not so very illustrative. Also, no readily usable sample project or dll is available on the internet. What is OAuth? OAuth (Open Authorization) is an open protocol that allows users to share their private resources (e.g. photos, videos, contact lists) stored on one site with another site without having to hand out their username and password. OAuth allows users to hand out tokens instead of usernames and passwords to their data hosted by a given service provider like delicious, twitter, linkedin etc. Steps to call Delicious API Following are the steps to make a successful API call to delicious using OAuth. 1.

Figure 1: API key form page 2. 3. 4. Eg. Announcing Site Streams Beta - Twitter API Announcements | Google Groupes.

Terms Of Service

Help Center. Counting Characters | dev.twitter.com. Facebook.