Ejemplo n.º 1
0
Archivo: main.go Proyecto: Yantrio/PoGo
func addUrlInTweetToPocket(apiKey *string, accesstoken string, urlintweet string, Id int64) {
	fmt.Println("Addiing to pocket : " + urlintweet)
	pocket.AddItemToPocket(apiKey, accesstoken, urlintweet, Id)
}
Ejemplo n.º 2
0
Archivo: main.go Proyecto: Yantrio/PoGo
func addBasicTweetToPocket(apiKey *string, accesstoken string, tweet anaconda.Tweet) {
	pocketurl := "https://twitter.com/" + tweet.User.ScreenName + "/status/" + strconv.FormatInt(tweet.Id, 10)
	fmt.Println(pocketurl)
	pocket.AddItemToPocket(apiKey, accesstoken, pocketurl, tweet.Id)
}