socdiff-0.1.0.0: Social diff

Safe HaskellNone
LanguageHaskell2010

Web.Socdiff.Instagram.DataSource

Documentation

data InstagramReq a where

Constructors

GetFollowerUsernames :: Text -> InstagramReq [(Text, Text)] 

Instances

DataSourceName InstagramReq 
StateKey InstagramReq 
Show1 InstagramReq 
DataSource u InstagramReq 
Eq (InstagramReq a) 
Show (InstagramReq a) 
Hashable (InstagramReq a) 
Typeable (* -> *) InstagramReq 
data State InstagramReq = InstagramState {} 

initGlobalState :: Int -> Text -> IO (State InstagramReq)

instagramFetch :: State InstagramReq -> Flags -> u -> [BlockedFetch InstagramReq] -> PerformFetch

fetchAsync :: Text -> QSem -> BlockedFetch InstagramReq -> IO (Async ())

getUID :: Text -> Text -> IO Text

followersToTupleList :: Response ByteString -> [(Text, Text)]

getAllFollowers

Arguments

:: [(Text, Text)]

The result of the previous fetch(es)

-> Maybe Text

The next cursor URL

-> IO [(Text, Text)] 

fetchReq :: InstagramReq a -> Text -> IO a