Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PublicCredentials = map[string]Credential{ "Twitter for iPhone": Credential{ ConsumerKey: "IQKbtAYlXLripLGPWd0HUA", ConsumerSecret: "GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU", }, "Twitter for Android": Credential{ ConsumerKey: "3nVuSoBZnx6U4vzUxf5w", ConsumerSecret: "Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys", }, "Twitter for Google TV": Credential{ ConsumerKey: "iAtYJ4HpUVfIUoNnif1DA", ConsumerSecret: "172fOpzuZoYzNYaU3mMYvE8m8MEyLbztOdbrUolU", }, "Twitter for iPad": Credential{ ConsumerKey: "CjulERsDeqhhjSme66ECg", ConsumerSecret: "IQWdVyqFxghAtURHGeGiWAsmCAGmdW3WmbEx6Hck", }, } )
Functions ¶
func Authenticate ¶
func Authenticate(credential *Credential) *oauth.AccessToken
func NewTwitterConsumer ¶
Types ¶
type Credential ¶
func CredentialByClientName ¶
func CredentialByClientName(clientName string) *Credential
func DefaultCredential ¶
func DefaultCredential() *Credential
Click to show internal directories.
Click to hide internal directories.