TAMULib / scholars-angular

MIT License
1 stars 1 forks source link

X Feed not syncing on person's profile #329

Open wwelling opened 1 month ago

wwelling commented 1 month ago

X (Twitter) feed is not syncing when viewing person's profile.

Steps to reproduce:

Image

wwelling commented 1 month ago

https://github.com/TAMULib/scholars-angular/blob/tamu-main/src/assets/scripts/widget.js

wwelling commented 1 month ago

https://github.com/TAMULib/scholars-angular/blob/tamu-main/angular.json#L35

wwelling commented 1 month ago

https://github.com/TAMULib/scholars-angular/blob/tamu-main/src/app/%2Bdisplay/display.component.html#L41

wwelling commented 1 month ago

https://github.com/TAMULib/scholars-angular/blob/tamu-main/src/app/shared/twitter/twitter.component.ts

wwelling commented 1 month ago

We have discovered that the X (Twitter) widget works as expected for verified accounts and not otherwise. We also have no ability to infer from the content of the iframe placed by the widget dues to cross-origin security.

wwelling commented 1 month ago

Remove widget and render username as a link to their profile under ORCID with X logo the aside section header.