rss2twitter/vendor/github.com/ChimeraCoder/anaconda/favorites.go
2018-12-05 00:15:53 -06:00

11 рядки
291 Б
Go

package anaconda
import (
"net/url"
)
func (a TwitterApi) GetFavorites(v url.Values) (favorites []Tweet, err error) {
response_ch := make(chan response)
a.queryQueue <- query{a.baseUrl + "/favorites/list.json", v, &favorites, _GET, response_ch}
return favorites, (<-response_ch).err
}