extwitter v0.9.6 ExTwitter.Behaviour behaviour

A definition of the intended behavior of the core functions.

Link to this section Summary

Callbacks

Link to this section Types

Link to this type stream_control_type()
stream_control_type() :: :stop

Link to this section Callbacks

Link to this callback access_token(arg0, arg1)
access_token(String.t, String.t) ::
  {:ok, String.t} |
  {:error, String.t}
Link to this callback authenticate_url(arg0)
authenticate_url(String.t) ::
  {:ok, String.t} |
  {:error, String.t}
Link to this callback authenticate_url(arg0, map)
authenticate_url(String.t, map) ::
  {:ok, String.t} |
  {:error, String.t}
Link to this callback authorize_url(arg0)
authorize_url(String.t) :: {:ok, String.t} | {:error, String.t}
Link to this callback authorize_url(arg0, map)
authorize_url(String.t, map) ::
  {:ok, String.t} |
  {:error, String.t}
Link to this callback configure()
configure() :: Keyword.t | nil
Link to this callback configure(arg0)
configure(Keyword.t) :: :ok
Link to this callback configure(arg0, arg1)
configure(:global | :process, Keyword.t) :: :ok
Link to this callback create_favorite(integer, arg1)
create_favorite(integer, Keyword.t) :: ExTwitter.Model.Tweet.t
Link to this callback destroy_direct_message(integer)
destroy_direct_message(integer) :: ExTwitter.Model.DirectMessage.t
Link to this callback destroy_direct_message(integer, arg1)
destroy_direct_message(integer, Keyword.t) :: ExTwitter.Model.DirectMessage.t
Link to this callback destroy_favorite(integer, arg1)
destroy_favorite(integer, Keyword.t) :: ExTwitter.Model.Tweet.t
Link to this callback destroy_status(integer)
destroy_status(integer) :: ExTwitter.Model.Tweet.t
Link to this callback destroy_status(integer, arg1)
destroy_status(integer, Keyword.t) :: ExTwitter.Model.Tweet.t
Link to this callback direct_message(arg0)
direct_message(integer | String.t) :: ExTwitter.Model.DirectMessage.t
Link to this callback direct_messages()
direct_messages() :: [ExTwitter.Model.DirectMessage.t]
Link to this callback direct_messages(arg0)
Link to this callback follow(arg0)
follow(String.t | integer) :: ExTwitter.Model.User.t
Link to this callback follow(arg0, arg1)
follow(String.t | integer, Keyword.t) :: ExTwitter.Model.User.t
Link to this callback follower_ids(arg0)
follower_ids(String.t | integer | Keyword.t) :: ExTwitter.Model.Cursor.t
Link to this callback follower_ids(arg0, arg1)
follower_ids(String.t | integer, Keyword.t) :: ExTwitter.Model.Cursor.t
Link to this callback followers(arg0)
followers(String.t | integer | Keyword.t) :: ExTwitter.Model.Cursor.t
Link to this callback followers(arg0, arg1)
followers(String.t | integer, Keyword.t) :: ExTwitter.Model.Cursor.t
Link to this callback friend_ids(arg0)
friend_ids(String.t | integer | Keyword.t) :: ExTwitter.Model.Cursor.t
Link to this callback friend_ids(arg0, arg1)
friend_ids(String.t | integer, Keyword.t) :: ExTwitter.Model.Cursor.t
Link to this callback friends(arg0, arg1)
Link to this callback geo_search(arg0)
Link to this callback geo_search(arg0, arg1)
Link to this callback home_timeline()
home_timeline() :: [ExTwitter.Model.Tweet.t]
Link to this callback home_timeline(arg0)
home_timeline(Keyword.t) :: [ExTwitter.Model.Tweet.t]
Link to this callback list_members(arg0)
list_members(Keyword.t) :: [ExTwitter.Model.User.t]
Link to this callback list_members(arg0, arg1)
Link to this callback list_members(arg0, arg1, arg2)
Link to this callback list_memberships()
list_memberships() :: [ExTwitter.Model.List.t]
Link to this callback list_memberships(arg0)
list_memberships(Keyword.t) :: [ExTwitter.Model.List.t]
Link to this callback list_subscribers(arg0)
list_subscribers(Keyword.t) :: [ExTwitter.Model.User.t]
Link to this callback list_subscribers(arg0, arg1)
list_subscribers(String.t, String.t) :: [ExTwitter.Model.User.t]
Link to this callback list_subscribers(arg0, arg1, arg2)
Link to this callback list_timeline(arg0)
list_timeline(Keyword.t) :: [ExTwitter.Model.Tweet.t]
Link to this callback list_timeline(arg0, arg1)
Link to this callback list_timeline(arg0, arg1, arg2)
Link to this callback lists(arg0)
lists(String.t | integer) :: [ExTwitter.Model.List.t]
Link to this callback lists(arg0, arg1)
lists(String.t | integer, Keyword.t) :: [ExTwitter.Model.List.t]
Link to this callback lookup_status(arg0)
lookup_status(String.t) :: [ExTwitter.Model.Tweet.t]
Link to this callback lookup_status(arg0, arg1)
Link to this callback mentions_timeline()
mentions_timeline() :: [ExTwitter.Model.Tweet.t]
Link to this callback mentions_timeline(arg0)
mentions_timeline(Keyword.t) :: [ExTwitter.Model.Tweet.t]
Link to this callback new_direct_message(arg0, arg1)
new_direct_message(String.t | integer, String.t) :: ExTwitter.Model.DirectMessage.t
Link to this callback rate_limit_status()
rate_limit_status() :: map
Link to this callback rate_limit_status(arg0)
rate_limit_status(Keyword.t) :: map
Link to this callback request(arg0, arg1)
request(:get | :post, String.t) :: map
Link to this callback request(arg0, arg1, arg2)
request(:get | :post, String.t, Keyword.t) :: map
Link to this callback request_token()
request_token() :: [ExTwitter.Model.RequestToken.t]
Link to this callback request_token(arg0)
Link to this callback retweet(integer)
retweet(integer) :: ExTwitter.Model.Tweet.t
Link to this callback retweet(integer, arg1)
retweet(integer, Keyword.t) :: ExTwitter.Model.Tweet.t
Link to this callback retweeter_ids(arg0)
retweeter_ids(integer | String.t) :: [integer | String.t]
Link to this callback retweeter_ids(arg0, arg1)
retweeter_ids(integer | String.t, Keyword.t) :: [integer | String.t]
Link to this callback retweets(arg0)
retweets(integer | String.t) :: [ExTwitter.Model.Tweet.t]
Link to this callback retweets(arg0, arg1)
retweets(integer | String.t, Keyword.t) :: [ExTwitter.Model.Tweet.t]
Link to this callback retweets_of_me()
retweets_of_me() :: [ExTwitter.Model.Tweet.t]
Link to this callback retweets_of_me(arg0)
retweets_of_me(Keyword.t) :: [ExTwitter.Model.Tweet.t]
Link to this callback reverse_geocode(float, float)
reverse_geocode(float, float) :: [ExTwitter.Model.Place.t]
Link to this callback reverse_geocode(float, float, arg2)
reverse_geocode(float, float, Keyword.t) :: [ExTwitter.Model.Place.t]
Link to this callback search_next_page(arg0)
search_next_page(String.t) :: [map]
Link to this callback sent_direct_messages()
sent_direct_messages() :: [ExTwitter.Model.DirectMessage.t]
Link to this callback sent_direct_messages(arg0)
sent_direct_messages(Keyword.t) :: [ExTwitter.Model.DirectMessage.t]
Link to this callback stream_control(pid, stream_control_type)
stream_control(pid, stream_control_type) :: :ok
Link to this callback stream_control(pid, stream_control_type, list)
stream_control(pid, stream_control_type, [{:timeout, integer}]) :: :ok
Link to this callback stream_filter(arg0)
stream_filter(Keyword.t) :: Enumerable.t
Link to this callback stream_filter(arg0, timeout)
stream_filter(Keyword.t, timeout) :: Enumerable.t
Link to this callback stream_sample()
stream_sample() :: Enumerable.t
Link to this callback stream_sample(arg0)
stream_sample(Keyword.t) :: Enumerable.t
Link to this callback stream_user()
stream_user() :: Enumerable.t
Link to this callback stream_user(arg0)
stream_user(Keyword.t) :: Enumerable.t
Link to this callback stream_user(arg0, integer)
stream_user(Keyword.t, integer) :: Enumerable.t
Link to this callback trends(arg0)
trends(integer | String.t) :: [ExTwitter.Model.Trend.t]
Link to this callback trends(arg0, arg1)
trends(integer | String.t, Keyword.t) :: [ExTwitter.Model.Trend.t]
Link to this callback unblock(arg0)
unblock(String.t | integer) :: ExTwitter.Model.User.t
Link to this callback unfollow(arg0)
unfollow(String.t | integer) :: ExTwitter.Model.User.t
Link to this callback unretweet(integer)
unretweet(integer) :: ExTwitter.Model.Tweet.t
Link to this callback unretweet(integer, arg1)
unretweet(integer, Keyword.t) :: ExTwitter.Model.Tweet.t
Link to this callback update_with_chunked_media(arg0, arg1, arg2)
update_with_chunked_media(String.t, String.t, String.t) :: ExTwitter.Model.Tweet.t
Link to this callback update_with_chunked_media(arg0, arg1, arg2, arg3)
update_with_chunked_media(String.t, String.t, String.t, Keyword.t) :: ExTwitter.Model.Tweet.t
Link to this callback update_with_media(arg0, arg1)
update_with_media(String.t, Keyword.t) :: ExTwitter.Model.Tweet.t
Link to this callback update_with_media(arg0, arg1, arg2)
Link to this callback upload_media(arg0, arg1)
upload_media(String.t, String.t) :: integer
Link to this callback upload_media(arg0, arg1, integer)
upload_media(String.t, String.t, integer) :: integer
Link to this callback user_lookup(arg0)
user_lookup(String.t | integer | Keyword.t) :: [ExTwitter.Model.User.t]
Link to this callback user_lookup(arg0, arg1)
user_lookup([String.t | integer] | String.t | integer, Keyword.t) :: [ExTwitter.Model.User.t]
Link to this callback user_profile_banner(arg0)
user_profile_banner(String.t | integer) :: ExTwitter.Model.ProfileBanner.t
Link to this callback user_search(arg0)
user_search(String.t) :: [ExTwitter.Model.User.t]
Link to this callback user_search(arg0, arg1)
Link to this callback user_timeline()
user_timeline() :: [ExTwitter.Model.Tweet.t]
Link to this callback user_timeline(arg0)
user_timeline(Keyword.t) :: [ExTwitter.Model.Tweet.t]
Link to this callback verify_credentials()
verify_credentials() :: ExTwitter.Model.User.t
Link to this callback verify_credentials(arg0)
verify_credentials(Keyword.t) :: ExTwitter.Model.User.t