anchor.diff:          [],
           []
        ).
  +
  +get_posts(Feed, State) ->
  +    Token = State#state.token,
  +    {ok, {_StatusCode, _Headers, Data}} = httpc:request(
  +        get,
  +        {
  +            "https://freefeed.net/v1/timelines/" ++ Feed,
  +            [{"x-authentication-token", binary_to_list(Token)}]
  +        },
  +        [],
  +        []
  +     ),
  +    Response = jiffy:decode(Data, [return_maps]),
  +    #{<<"posts">> := Posts} = Response,
  +    Posts.
  
positive.code: 
  is_logged_in() ->
      gen_server:call(?MODULE, {is_logged_in}).
  
  %%%===================================================================
  %%% gen_server callbacks
  
negative.code:     {reply, Status, State};
  handle_call({is_logged_in}, _From, State) ->
      {reply, State#state.logged_in, State};
  handle_call({get_posts, Feed}, _From, State) ->
      Posts = get_posts(Feed, State),
      {reply, Posts, State};
  handle_call(_Request, _From, State) ->
      {reply, unknown_command, State}.
  
  