GETTING STARTED OAUTH
|1||On the twitter service you first need to do a once off Application registration - this is effectively giving permission for 3rd party applications to request access to your twitter account.
Create a new app in twitter
|2||The application will set up 2 keys for you:
# Consumer key
# Consumer secret
You then need to use:
Example Steps as a user giving permission (once only per user):
You can now request a token (which is done in 3 phases).
|1||Request an application level token:
You will be returned a parameter: oauth_token
That you need to redirect to the Twitter user authentication page, eg:
Twitter will then call back to the url you specified when setting up the application or the url supplied in the NETWORK_OAUTH_REQUEST_TOKEN call as &urlcallback=
They will be used in the phase 2 in step 4 next.
|2||Requesting the user access token
This gets back the auth_token and secret for the user and saves it against their account for future use.
|3||Sending status update to twitter:
You can use any method with the Twitter REST API
Graph theory is the theory of links and nodes and how they interconnect – so a “graph” represents these links, on facebook.com the links to friends represents your social graph.
The links between contacts, invoices etc is an organisations “business graph”.
The Open Graph protocol enables any web page to become a rich object in a social graph.