Skip to content

Commit

Permalink
mod_twitter - use https for streaming API.
Browse files Browse the repository at this point in the history
(cherry picked from commit 5cb1639)
  • Loading branch information
Arjan Scherpenisse committed Dec 29, 2011
1 parent 0adb84b commit d5b0e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_twitter/mod_twitter.erl
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ start_following(Context) ->
error_logger:info_msg("No follow configuration for mod_twitter. ~n"),
undefined;
_ ->
URL = "http://" ++ Login ++ ":" ++ Pass ++ "@stream.twitter.com/1/statuses/filter.json",
URL = "https://" ++ Login ++ ":" ++ Pass ++ "@stream.twitter.com/1/statuses/filter.json",
Follow = z_utils:combine(",", Follow1),
Body = lists:flatten("follow=" ++ Follow),
z_session_manager:broadcast(#broadcast{type="notice", message="Now waiting for tweets to arrive...", title="Twitter", stay=false}, Context),
Expand Down

0 comments on commit d5b0e47

Please sign in to comment.