示例#1
0
文件: main.go 项目: Yantrio/PoGo
func addUrlInTweetToPocket(apiKey *string, accesstoken string, urlintweet string, Id int64) {
	fmt.Println("Addiing to pocket : " + urlintweet)
	pocket.AddItemToPocket(apiKey, accesstoken, urlintweet, Id)
}
示例#2
0
文件: main.go 项目: 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)
}