Skip to content
Browse files

Rename twitterl to twitter_interface, will now call our

gen_server twitterl.
  • Loading branch information...
1 parent 1488ee1 commit 043794b9f4c9b69009bc4e835d553e10318f9b10 @baphled committed
Showing with 2 additions and 9 deletions.
  1. +2 −9 twitterl.erl → twitterl_interface.erl
View
11 twitterl.erl → twitterl_interface.erl
@@ -48,13 +48,6 @@
-define(SearchHashUrl, ?SearchUrl"/search.rss?q=").
-define(SearchTrendsUrl, ?SearchUrl"/trends.json").
-define(VerifyUrl, ?TwitUrl"/account/verify_credentials.xml").
-
-start() ->
- inets:start().
-
-stop() ->
- inets:stop().
-
%% Retrieve the top 10 trends, only available under JSON atm.
%% Seems to be a bug in the parsing, sometimes we get a mismatch
@@ -71,8 +64,8 @@ trends() ->
false ->
{ok,loop_json([],Result)};
true ->
- %trends()
- {error,Result}
+ trends()
+ %{error,Result}
end;
_ ->
{error,'Can not retrieve trends.'}

0 comments on commit 043794b

Please sign in to comment.
Something went wrong with that request. Please try again.