Comments (8)
hey, i got solution for this, but there is no difference in out put of withFollowing=false and withFollowing=true. plz anybody give me difference of them. i know difference as per twitter api but i did not get result like that. results are same.
from hbc.
withFollowings(true)
translates to having the parameter "with=following" as documented here [1]. withFollowings(false)
translates to having the default, "with=user".
[1] https://dev.twitter.com/docs/streaming-apis/parameters#with
Can you show an example where you do not get the tweets you expect to see when the parameter is set?
from hbc.
I am giving here parameter setting with output observation :
UserstreamEndpoint endpoint = new UserstreamEndpoint();
endpoint.withFollowings(true);
From above parameter setting, I get
- tweets of user
- tweets of following
- events of user
UserstreamEndpoint endpoint = new UserstreamEndpoint();
endpoint.withFollowings(false);
From above parameter setting, I get
- tweets of user
- tweets of following
- events of user
from hbc.
see sir, this output when setting is like below,
UserstreamEndpoint endpoint = new UserstreamEndpoint();
endpoint.withFollowings(false); // means with=user, which only streams messages from the user associated with the stream.
but i got users as well others tweets also.
[com.twitter.hbc.example.UserStreamExample.main()] INFO com.twitter.hbc.httpclie
nt.BasicClient - New connection executed: hosebird-client-0, endpoint: /1.1/user
.json?delimited=length&stall_warnings=true
[hosebird-client-io-thread-0] INFO com.twitter.hbc.httpclient.ClientBase - hoseb
ird-client-0 Establishing a connection
[hosebird-client-io-thread-0] INFO com.twitter.hbc.httpclient.ClientBase - hoseb
ird-client-0 Processing connection data
{"friends":[14392192,10876852,15676118,372475592,108198542,777925,109184306,1976
1445,179305666,9720292,1391679324,34304382,139344746,6844292,94652818,88344304,1
14387883,275126119,380927048,95481928,783214,369471121,19895282,133245413,376825
877,163792579,122995784,44602678,6253282,304298721,40885516,5402612,172442947,12
9722129,11069462,22256645,7588892,523503830,183709371,17093617,5520952,132385468
,20536157,819797,67272817,40215499,262202555,4933401,14230524,13334762,627222883
,14602130,18100055,61505026,8633582]}
{"created_at":"Mon Jun 03 09:12:10 +0000 2013","id":341482430861029377,"id_str":
"341482430861029377","text":"Life is what happens to you when you're looking at
your smartphone xU xQ!! :P","source":"\u003ca href="http://www.facebook.com/
twitter" rel="nofollow"\u003eFacebook\u003c/a\u003e","truncated":false,"in_r
eply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":n
ull,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":6
1505026,"id_str":"61505026","name":"Funny & Quotes!","screen_name":"ULTIMATE_QUO
TES","location":"Walking","url":"http://www.facebook.com/Loyalty.Honesty.Prid
e","description":"Your Feelings My Words!","protected":false,"followers_count":2
0215,"friends_count":288,"listed_count":181,"created_at":"Thu Jul 30 14:45:33 +0
000 2009","favourites_count":7965,"utc_offset":19800,"time_zone":"Mumbai","geo_e
nabled":false,"verified":false,"statuses_count":6449,"lang":"en","contributors_e
nabled":false,"is_translator":false,"profile_background_color":"642D8B","profile
background_image_url":"http://a0.twimg.com/profile_background_images/695673
867/1cf3e4784817990d030f4270e87a90b5.jpeg","profile_background_image_url_https"
:"https://si0.twimg.com/profile_background_images/695673867/1cf3e4784817990
d030f4270e87a90b5.jpeg","profile_background_tile":true,"profile_image_url":"http
://a0.twimg.com/profile_images/2978148101/9a44cfdaf9394b8a48178bfc1b971655
normal.jpeg","profile_image_url_https":"https://si0.twimg.com/profile_images
/2978148101/9a44cfdaf9394b8a48178bfc1b971655_normal.jpeg","profile_banner_url":
"https://pbs.twimg.com/profile_banners/61505026/1351401471","profile_link_c
olor":"FF0000","profile_sidebar_border_color":"FFFFFF","profile_sidebar_fill_col
or":"7AC3EE","profile_text_color":"3D1957","profile_use_background_image":true,"
default_profile":false,"default_profile_image":false,"following":null,"follow_re
quest_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":nul
l,"contributors":null,"retweet_count":0,"favorite_count":0,"entities":{"hashtags
":[],"symbols":[],"urls":[],"user_mentions":[]},"favorited":false,"retweeted":fa
lse,"filter_level":"medium","lang":"en"}
{"created_at":"Mon Jun 03 09:32:43 +0000 2013","id":341487601557061632,"id_str":
"341487601557061632","text":"Ericsson forecasts 4.5 billion smartphone subscript
ions and 60% LTE coverage worldwide by 2018 http://t.co/8Pr5m8cJtc by @theken
yeung","source":"\u003ca href="http://spread.us" rel="nofollow"\u003eSprea
d The Next Web\u003c/a\u003e","truncated":false,"in_reply_to_status_id":null,"i
n_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_s
tr":null,"in_reply_to_screen_name":null,"user":{"id":10876852,"id_str":"10876852
","name":"The Next Web","screen_name":"TheNextWeb","location":"The Interwebs.","
url":"http://thenextweb.com","description":"International news on technology,
business and culture. Follow specific channels in our Twitter lists. Find us on
Facebook: http://www.facebook.com/thenextweb","protected":false,"followers_
count":903239,"friends_count":7335,"listed_count":20497,"created_at":"Wed Dec 05
17:26:15 +0000 2007","favourites_count":81,"utc_offset":3600,"time_zone":"Amste
rdam","geo_enabled":false,"verified":true,"statuses_count":50432,"lang":"en","co
ntributors_enabled":false,"is_translator":false,"profile_background_color":"FF33
00","profile_background_image_url":"http://a0.twimg.com/profile_background_im
ages/156801853/orangey.jpg","profile_background_image_url_https":"https://si
0.twimg.com/profile_background_images/156801853/orangey.jpg","profile_backgro
und_tile":false,"profile_image_url":"http://a0.twimg.com/profile_images/1574
591465/THE_new-twitter-avatar-working_normal.jpg","profile_image_url_https":"ht
tps://si0.twimg.com/profile_images/1574591465/THE_new-twitter-avatar-workin
g_normal.jpg","profile_link_color":"BD0600","profile_sidebar_border_color":"DFDF
DF","profile_sidebar_fill_color":"F3F3F3","profile_text_color":"333333","profile
_use_background_image":true,"default_profile":false,"default_profile_image":fals
e,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"
coordinates":null,"place":null,"contributors":null,"retweet_count":0,"favorite_c
ount":0,"entities":{"hashtags":[],"symbols":[],"urls":[{"url":"http://t.co/8P
r5m8cJtc","expanded_url":"http://tnw.to/d0YrL","display_url":"tnw.to/d0YrL",
"indices":[95,117]}],"user_mentions":[{"screen_name":"thekenyeung","name":"Ken Y
eung","id":9075622,"id_str":"9075622","indices":[121,133]}]},"favorited":false,"
retweeted":false,"possibly_sensitive":false,"filter_level":"medium","lang":"en"}
from hbc.
and sir, this output when setting is like below,
UserstreamEndpoint endpoint = new UserstreamEndpoint();
endpoint.withFollowings(true); // means with=followings
here also, i can get users as well as others tweets.
***************************************************************************************************************[com.twitter.hbc.example.UserStreamExample.main()] INFO com.twitter.hbc.httpclie
nt.BasicClient - New connection executed: hosebird-client-0, endpoint: /1.1/user
.json?with=followings&delimited=length&stall_warnings=true
[hosebird-client-io-thread-0] INFO com.twitter.hbc.httpclient.ClientBase - hoseb
ird-client-0 Establishing a connection
[hosebird-client-io-thread-0] INFO com.twitter.hbc.httpclient.ClientBase - hoseb
ird-client-0 Processing connection data
{"friends":[14392192,10876852,15676118,372475592,108198542,777925,109184306,1976
1445,179305666,9720292,1391679324,34304382,139344746,6844292,94652818,88344304,1
14387883,275126119,380927048,95481928,783214,369471121,19895282,133245413,376825
877,163792579,122995784,44602678,6253282,304298721,40885516,5402612,172442947,12
9722129,11069462,22256645,7588892,523503830,183709371,17093617,5520952,132385468
,20536157,819797,67272817,40215499,262202555,4933401,14230524,13334762,627222883
,14602130,18100055,61505026,8633582]}
{"created_at":"Mon Jun 03 10:04:11 +0000 2013","id":341495521728409600,"id_str":
"341495521728409600","text":"garmi me sardi lagna acchi bat nahi hai ....","source"
:"\u003ca href="http://www.hootsuite.com" rel="nofollow"\u003eHootSuite\u0
03c/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status
_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_repl
y_to_screen_name":null,"user":{"id":571022279,"id_str":"571022279","name":"Farah
Inamdar","screen_name":"Farah_Inamdar","location":"","url":null,"description":n
ull,"protected":false,"followers_count":16,"friends_count":55,"listed_count":0,"
created_at":"Fri May 04 17:52:30 +0000 2012","favourites_count":10,"utc_offset":
19800,"time_zone":"Mumbai","geo_enabled":false,"verified":false,"statuses_count"
:91,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_back
ground_color":"C0DEED","profile_background_image_url":"http://a0.twimg.com/im
ages/themes/theme1/bg.png","profile_background_image_url_https":"https://si
0.twimg.com/images/themes/theme1/bg.png","profile_background_tile":false,"pr
ofile_image_url":"http://a0.twimg.com/profile_images/2190586837/6_normal.jp
g","profile_image_url_https":"https://si0.twimg.com/profile_images/219058683
7/6_normal.jpg","profile_link_color":"0084B4","profile_sidebar_border_color":"C
0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","prof
ile_use_background_image":true,"default_profile":true,"default_profile_image":fa
lse,"following":null,"follow_request_sent":null,"notifications":null},"geo":null
,"coordinates":null,"place":null,"contributors":null,"retweet_count":0,"favorite
_count":0,"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[]},"
favorited":false,"retweeted":false,"filter_level":"medium","lang":"it"}
{"delete":{"status":{"id":341495521728409600,"user_id":571022279,"id_str":"34149
5521728409600","user_id_str":"571022279"}}}
{"created_at":"Mon Jun 03 10:11:45 +0000 2013","id":341497423656517633,"id_str":
"341497423656517633","text":"#Ebook Deal/Day: Active Directory - $21.99 (Save 5
0%)\n\n Use code DEAL http://t.co/ueabotRGC7","source":"\u003ca href="http:
//ifttt.com" rel="nofollow"\u003eIFTTT\u003c/a\u003e","truncated":false,"in
_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id"
:null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id"
:11069462,"id_str":"11069462","name":"O'Reilly Media","screen_name":"OReillyMedi
a","location":"Sebastopol, Cambridge, Farnham","url":"http://about.me/oreilly
media","description":"O'Reilly Media spreads the knowledge of innovators and exp
ert early adopters to everyday users through books, conferences, news reportage,
videos, and classes.","protected":false,"followers_count":61532,"friends_count"
:22739,"listed_count":4108,"created_at":"Wed Dec 12 00:27:43 +0000 2007","favour
ites_count":596,"utc_offset":-28800,"time_zone":"Pacific Time (US & Canada)","ge
o_enabled":true,"verified":true,"statuses_count":18568,"lang":"en","contributors
_enabled":false,"is_translator":false,"profile_background_color":"FFFFFF","profi
le_background_image_url":"http://a0.twimg.com/profile_background_images/3565
878/twitterorginal2.jpg","profile_background_image_url_https":"https://si0.tw
img.com/profile_background_images/3565878/twitterorginal2.jpg","profile_backg
round_tile":false,"profile_image_url":"http://a0.twimg.com/profile_images/17
65645737/oreilly-social-icon_normal.png","profile_image_url_https":"https://s
i0.twimg.com/profile_images/1765645737/oreilly-social-icon_normal.png","profi
le_banner_url":"https://pbs.twimg.com/profile_banners/11069462/1355508337",
"profile_link_color":"0084B4","profile_sidebar_border_color":"D4D4D4","profile_s
idebar_fill_color":"FFFFFF","profile_text_color":"444444","profile_use_backgroun
d_image":true,"default_profile":false,"default_profile_image":false,"following":
null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":n
ull,"place":null,"contributors":null,"retweet_count":0,"favorite_count":0,"entit
ies":{"hashtags":[{"text":"Ebook","indices":[0,6]}],"symbols":[],"urls":[{"url":
"http://t.co/ueabotRGC7","expanded_url":"http://oreil.ly/130b1Ro","display
_url":"oreil.ly/130b1Ro","indices":[70,92]}],"user_mentions":[]},"favorited":fa
lse,"retweeted":false,"possibly_sensitive":false,"filter_level":"medium","lang":
"en"}
{"created_at":"Mon Jun 03 10:15:37 +0000 2013","id":341498398949646336,"id_str":
"341498398949646336","text":"RT @milann: My @thenextweb swag is here! https://
t.co/8GsI5DsCy6","source":"web","truncated":false,"in_reply_to_status_id":null,
"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id
str":null,"in_reply_to_screen_name":null,"user":{"id":10876852,"id_str":"108768
52","name":"The Next Web","screen_name":"TheNextWeb","location":"The Interwebs."
,"url":"http://thenextweb.com","description":"International news on technology
, business and culture. Follow specific channels in our Twitter lists. Find us
on Facebook: http://www.facebook.com/thenextweb","protected":false,"follower
s_count":903254,"friends_count":7335,"listed_count":20497,"created_at":"Wed Dec
05 17:26:15 +0000 2007","favourites_count":81,"utc_offset":3600,"time_zone":"Ams
terdam","geo_enabled":false,"verified":true,"statuses_count":50435,"lang":"en","
contributors_enabled":false,"is_translator":false,"profile_background_color":"FF
3300","profile_background_image_url":"http://a0.twimg.com/profile_background
images/156801853/orangey.jpg","profile_background_image_url_https":"https://
si0.twimg.com/profile_background_images/156801853/orangey.jpg","profile_backg
round_tile":false,"profile_image_url":"http://a0.twimg.com/profile_images/15
74591465/THE_new-twitter-avatar-working_normal.jpg","profile_image_url_https":"
https://si0.twimg.com/profile_images/1574591465/THE_new-twitter-avatar-work
ing_normal.jpg","profile_link_color":"BD0600","profile_sidebar_border_color":"DF
DFDF","profile_sidebar_fill_color":"F3F3F3","profile_text_color":"333333","profi
le_use_background_image":true,"default_profile":false,"default_profile_image":fa
lse,"following":null,"follow_request_sent":null,"notifications":null},"geo":null
,"coordinates":null,"place":null,"contributors":null,"retweeted_status":{"create
d_at":"Mon May 27 14:38:41 +0000 2013","id":339027885824282624,"id_str":"3390278
85824282624","text":"My @thenextweb swag is here! https://t.co/8GsI5DsCy6","s
ource":"\u003ca href="http://vine.co" rel="nofollow"\u003eVine - Make a Sc
ene\u003c/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_
status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"i
n_reply_to_screen_name":null,"user":{"id":14475802,"id_str":"14475802","name":"
u2652ilan","screen_name":"Milann","location":"Amsterdam \u2601 Berlin","url":"ht
tp://www.MilanMaurice.com","description":"Helping you Design, Fund and Create
great Apps & Communities. Building the @SellanApp Community, I am a jury @Upload
Cinema and a DJ at @spotify","protected":false,"followers_count":925,"friends_co
unt":265,"listed_count":42,"created_at":"Tue Apr 22 15:20:05 +0000 2008","favour
ites_count":240,"utc_offset":3600,"time_zone":"Amsterdam","geo_enabled":true,"ve
rified":false,"statuses_count":5287,"lang":"en","contributors_enabled":false,"is
_translator":false,"profile_background_color":"000000","profile_background_image
_url":"http://a0.twimg.com/profile_background_images/884616209/5c4c0ddaea2c
87bef076dbdffe1c95a8.jpeg","profile_background_image_url_https":"https://si0.t
wimg.com/profile_background_images/884616209/5c4c0ddaea2c87bef076dbdffe1c95a8
.jpeg","profile_background_tile":false,"profile_image_url":"http://a0.twimg.co
m/profile_images/3702374014/ab6fd628f677dd2c546cd87f1cb338c4_normal.png","pro
file_image_url_https":"https://si0.twimg.com/profile_images/3702374014/ab6f
d628f677dd2c546cd87f1cb338c4_normal.png","profile_banner_url":"https://pbs.twi
mg.com/profile_banners/14475802/1367244171","profile_link_color":"999999","pr
ofile_sidebar_border_color":"FFFFFF","profile_sidebar_fill_color":"FFFFFF","prof
ile_text_color":"222222","profile_use_background_image":true,"default_profile":f
alse,"default_profile_image":false,"following":null,"follow_request_sent":null,"
notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":n
ull,"retweet_count":1,"favorite_count":0,"entities":{"hashtags":[],"symbols":[],
"urls":[{"url":"https://t.co/8GsI5DsCy6","expanded_url":"https://vine.co/v
/bV9HtJgqqvj","display_url":"vine.co/v/bV9HtJgqqvj","indices":[29,52]}],"user
mentions":[{"screen_name":"TheNextWeb","name":"The Next Web","id":10876852,"id
str":"10876852","indices":[3,14]}]},"favorited":false,"retweeted":false,"possibl
y_sensitive":false,"lang":"en"},"retweet_count":0,"favorite_count":0,"entities":
{"hashtags":[],"symbols":[],"urls":[{"url":"https://t.co/8GsI5DsCy6","expande
d_url":"https://vine.co/v/bV9HtJgqqvj","display_url":"vine.co/v/bV9HtJgqqv
j","indices":[41,64]}],"user_mentions":[{"screen_name":"Milann","name":"\u2652il
an","id":14475802,"id_str":"14475802","indices":[3,10]},{"screen_name":"TheNextW
eb","name":"The Next Web","id":10876852,"id_str":"10876852","indices":[15,26]}]}
,"favorited":false,"retweeted":false,"possibly_sensitive":false,"filter_level":"
low"}
{"created_at":"Mon Jun 03 10:15:51 +0000 2013","id":341498456428388353,"id_str":
"341498456428388353","text":"Celebrate #MSTechEd - Save 50% on all ebooks from
@MicrosoftPress http://t.co/oaCT3k55Y8","source":"\u003ca href="http://ww
w.hootsuite.com" rel="nofollow"\u003eHootSuite\u003c/a\u003e","truncated":fa
lse,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_u
ser_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user
":{"id":11069462,"id_str":"11069462","name":"O'Reilly Media","screen_name":"ORei
llyMedia","location":"Sebastopol, Cambridge, Farnham","url":"http://about.me/
oreillymedia","description":"O'Reilly Media spreads the knowledge of innovators
and expert early adopters to everyday users through books, conferences, news rep
ortage, videos, and classes.","protected":false,"followers_count":61531,"friends
_count":22739,"listed_count":4108,"created_at":"Wed Dec 12 00:27:43 +0000 2007",
"favourites_count":596,"utc_offset":-28800,"time_zone":"Pacific Time (US & Canad
a)","geo_enabled":true,"verified":true,"statuses_count":18569,"lang":"en","contr
ibutors_enabled":false,"is_translator":false,"profile_background_color":"FFFFFF"
,"profile_background_image_url":"http://a0.twimg.com/profile_background_image
s/3565878/twitterorginal2.jpg","profile_background_image_url_https":"https:/
/si0.twimg.com/profile_background_images/3565878/twitterorginal2.jpg","profil
e_background_tile":false,"profile_image_url":"http://a0.twimg.com/profile_ima
ges/1765645737/oreilly-social-icon_normal.png","profile_image_url_https":"http
s://si0.twimg.com/profile_images/1765645737/oreilly-social-icon_normal.png"
,"profile_banner_url":"https://pbs.twimg.com/profile_banners/11069462/13555
08337","profile_link_color":"0084B4","profile_sidebar_border_color":"D4D4D4","pr
ofile_sidebar_fill_color":"FFFFFF","profile_text_color":"444444","profile_use_ba
ckground_image":true,"default_profile":false,"default_profile_image":false,"foll
owing":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordin
ates":null,"place":null,"contributors":null,"retweet_count":0,"favorite_count":0
,"entities":{"hashtags":[{"text":"MSTechEd","indices":[10,19]}],"symbols":[],"ur
ls":[{"url":"http://t.co/oaCT3k55Y8","expanded_url":"http://oreil.ly/19ujF
wD","display_url":"oreil.ly/19ujFwD","indices":[68,90]}],"user_mentions":[{"scr
een_name":"MicrosoftPress","name":"Microsoft Press","id":19601111,"id_str":"1960
1111","indices":[52,67]}]},"favorited":false,"retweeted":false,"possibly_sensiti
ve":false,"filter_level":"medium","lang":"en"}
{"created_at":"Mon Jun 03 10:17:21 +0000 2013","id":341498832456134656,"id_str":
"341498832456134656","text":"Michael Adebolajo, charged with #Woolwich murder of
Lee Rigby & attempted murder of 2 police officers, has case referred to Old
Bailey","source":"\u003ca href="http://www.bbc.co.uk/news/" rel="nofollo
w"\u003eBBC News\u003c/a\u003e","truncated":false,"in_reply_to_status_id":null
,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_i
d_str":null,"in_reply_to_screen_name":null,"user":{"id":5402612,"id_str":"540261
2","name":"BBC Breaking News","screen_name":"BBCBreaking","location":"London, UK
","url":"http://www.bbc.co.uk/news","description":"Breaking news alerts and u
pdates from the BBC. For news, features, analysis follow @BBCWORLD (our World ed
ition) and @bbcnews (our UK edition).","protected":false,"followers_count":60609
64,"friends_count":2,"listed_count":76029,"created_at":"Sun Apr 22 14:42:37 +000
0 2007","favourites_count":0,"utc_offset":0,"time_zone":"London","geo_enabled":f
alse,"verified":true,"statuses_count":12873,"lang":"en","contributors_enabled":f
alse,"is_translator":false,"profile_background_color":"FFFFFF","profile_backgrou
nd_image_url":"http://a0.twimg.com/profile_background_images/571084338/bgjy
gltd2afkpc1sdnjd.jpeg","profile_background_image_url_https":"https://si0.twimg
.com/profile_background_images/571084338/bgjygltd2afkpc1sdnjd.jpeg","profile_
background_tile":false,"profile_image_url":"http://a0.twimg.com/profile_image
s/2186829506/128x128_twitter_bbc_breaking_normal.jpg","profile_image_url_https
":"https://si0.twimg.com/profile_images/2186829506/128x128_twitter_bbc_brea
king_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners
/5402612/1357232722","profile_link_color":"1F527B","profile_sidebar_border_colo
r":"CCCCCC","profile_sidebar_fill_color":"FFFFFF","profile_text_color":"5A5A5A",
"profile_use_background_image":true,"default_profile":false,"default_profile_ima
ge":false,"following":null,"follow_request_sent":null,"notifications":null},"geo
":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":0,"fa
vorite_count":0,"entities":{"hashtags":[{"text":"Woolwich","indices":[32,41]}],"
symbols":[],"urls":[],"user_mentions":[]},"favorited":false,"retweeted":false,"f
ilter_level":"medium","lang":"en"}
from hbc.
Sorry its taken so long to look into this. I'm also able to reproduce it.
Couple issues here:
- The streaming docs need to be fixed. I'll help get that fixed. The default for userstreams is with=followings if the parameter is not included. The default for sitestreams is with=user if the parameter is not included.
- The UserstreamEndpoint code in hbc was relying on the default being with=user. Instead I think we should instead expose a withUser(boolean) method. I'll make a pull request for this.
from hbc.
This should be fixed by using withUser(true) from pull request #79
from hbc.
Nice. Looks like the docs have been fixed too. https://dev.twitter.com/docs/streaming-apis/parameters#with
from hbc.
Related Issues (20)
- Enhanced URL enrichment in Twitter/GNIP volume stream 2.0 causing DelimitedStreamReader's buffer to overflow
- Sitestream: Add/remove user on reconnect HOT 2
- OAuth1.signRequest throws NullPointerException when no query params HOT 1
- Incomplete Streaming of tweets HOT 3
- ClientBuilder error caused by deprecation of SchemeRegistryFactory
- Broken link on README HOT 2
- Create release with support for powertrack 2 HOT 5
- How to search tweets between specific date range using hbc HOT 1
- Use hbc on talend
- Twitter "Streaming API" link in README.md is no longer valid HOT 1
- Handler for onBlock? HOT 1
- is this repo and the getting started not going to work after the 16th of August? HOT 1
- Streaming connection to twitter through a internet proxy in a new release
- Proxy in ClientBuilder HOT 2
- Quotes o Retweets search by UserName not retrieved by streaming API
- Missing Check against Null
- Twitter API is not working for Kafka. it's refusing the connection HOT 2
- Connection Failure. HOT 1
- How do I get token and secret HOT 2
- Hosebird client is retired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hbc.