Module twitter_feed

Fetch feed for twitter username of tag.

Copyright © 2018 Driebit BV

Authors: Marc Worrell (marc@worrell.nl).

Description

Fetch feed for twitter username of tag.

Function Index

get_tweet/2
poll/3Fetch the timeline of an user or query for a phrase or tag.
poll_next/2

Function Details

get_tweet/2

get_tweet(TweetId, Context) -> any()

poll/3

poll(TagOrPhrase::binary(), SinceId::integer() | undefined, Context::z:context()) -> {ok, map()} | {error, term()}

Fetch the timeline of an user or query for a phrase or tag. Returns a map with the 'next' args for poll_next/2, the tweets found and the max-id of all tweets. Retweets are filtered from the query but not from the timeline.

poll_next/2

poll_next(X1, Context) -> any()


Generated by EDoc