Is it possible to embed a twitter feed into a WebGIS configurable popups?

312
1
08-03-2019 04:29 PM
AndrewStraw
New Contributor

This is what I am trying to show in my popup (not just the link). 

<a class="twitter-timeline" href="https://twitter.com/realDonaldTrump?ref_src=twsrc%5Etfw">Tweets by realDonaldTrump</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Does the Web GIS configurable popup allow iframe html? It deletes automatically whenever I try. 

Is it possible to embed twitter feed into WebGIS pop-up utilizing < iframe >  by referencing another .html doc or by referencing a column with the associated link or html? 

I am just trying to do it once with just one president first, but if it is possible to embed then I can add as individual columns for each country (twitter api feeds / URLS), so that when you click on a capital city the leaderships twitter timeline appears. 

0 Kudos
1 Reply
Peter_Klingman
Esri Regular Contributor

Hi Andrew Straw‌ - 

From the documentation, ArcGIS Online does not currently support embedding iFrames in pop-ups: https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm

You can upvote the ArcGIS Idea for it here: https://community.esri.com/ideas/13313-allow-iframe-html-tag-into-the-popup

Hope this helps!

-Peter

0 Kudos