Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to detect that a twitter user is tweeting. #275

Open
oguzdelioglu opened this issue Mar 7, 2021 · 1 comment
Open

I want to detect that a twitter user is tweeting. #275

oguzdelioglu opened this issue Mar 7, 2021 · 1 comment

Comments

@oguzdelioglu
Copy link

oguzdelioglu commented Mar 7, 2021

When a specified user tweeted, I want to detect that tweet.

How should I use which function of this project?

v := url.Values{}
s := api.PublicStreamFilter(v)

v.Add("follow", "2876288241")

for {
item := <-s.C
fmt.Println(item)
}

Result: {[] Sun Mar 07 12:24:31 +0000 2021 [] {[] [] {[]} [] []} {[] [] {[]} [] []} { [] {[] [] {[]} [] []} {[] [] {[]} [] []}} 0 false low xxxxxxxxxxxxx false 1368538049487978499 1368538049487978499 0
0 false und {map[] {[] } [] {[] } [] } 0 false false 0 false Twitter Web App map[] xxxxxxxxxxxxx {false Fri Nov 14 11:50:22 +0000 2014 true false {[] [] {[]} [] []} 0 false 4 false 1 false false 2876288241 2876288241 false false 0 Daily Kids Games false C0DEED http://abs.twimg.com/images/themes/theme1/bg.png https://abs.twimg.com/images/themes/theme1/bg.png false https://pbs.twimg.com/profile_banners/2876288241/1415966811 http://pbs.twimg.com/profile_images/533227532913356803/l-x_UByU_normal.png https://pbs.twimg.com/profile_images/533227532913356803/l-x_UByU_normal.png 1DA1F2 C0DEED DDEEF6 333333 true false dailykidsgames false 2 0 false [] } false [] }
{1368538049487978499 1368538049487978499 2876288241 2876288241}

@rilysh
Copy link

rilysh commented Nov 30, 2022

That should be in home feed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants