anchor.diff:  -module(tweetgrabber).
   -behaviour(gen_server).
   -define(SERVER, ?MODULE).
  +-compile(export_all).
   
   %% ------------------------------------------------------------------
   %% API Function Exports
  
positive.code:     Start ++ string:join([string:join(Key, Value, "=") || {Key, Value} <- Params], "&").
  
  build_composite_key(Consumer_secret, Access_token) ->
      string:join([Consumer_key, Consumer_secret], ":").
  
  build_oauth_signature(Base_info, Composite_key) ->
      base64:encode_to_string(crypto:hmac(sha1, Base_info, Composite_key)).
  
negative.code:     [{oauth_signature, Oauth_signature} | Details].
  
  build_authorization_header(Oauth_details) ->
      "Authorization: OAuth " ++ string:join([lists:flatten(io_lib:format("~p=\"~p\"", [Key, Value])) || {Key, Value} <- Oauth_details], ", ").
  
  % http://stackoverflow.com/questions/12916539/simplest-php-example-for-retrieving-user-timeline-with-twitter-api-version-1-1
  