Tries to render block when the auth request fails

Created on 8 March 2023, over 1 year ago
Updated 9 March 2023, over 1 year ago

Problem/Motivation

The module tries to render the block, performing an API request to tweets/search/recent, when the API authorization request fails. Instead it should recognize if the auth request fails and then not attempt the search request.

Steps to reproduce

Configure the module with faulty API credentials.
Display a Twitter block.

Proposed resolution

Verify in TwitterBlockBase::build() whether the authentication request succeeded before trying to display the tweets.

Remaining tasks

Work out how.

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Fixed

Version

4.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024