any way to make the embedded images inside a tweet responsive?
heres what large images look like now when you embed a tweet
when quoted they look way off
heres what it should look like with width = 100 and height = auto
I still haven't had the time to break this off as I have my own set of problems unrelated to this that are turning out to be a bit difficult to solve and that absorbs most of time these couple of weeks. Sorry for the delay, just try and remember that folks at twitter get paid to update this stuff, I don't get paid for stuff I build on top of that so with that said this is really not a high priority thing to me.Just checking in with you.
Would be happy to. If you have a thread that happens to have 5+ embedded tweets that (as I recall) was the point at which they'd start to regularly break, before that (or around there) it was hit or miss.
PM when and as you please, and thanks.
I just installed it tonight on XF 1.4.2 and it seems to be working fine.Does not work with 1.4
ErrorException: Undefined index: html - library/MediaSites/Twitter.php:14
Generated By: Unknown Account, 42 minutes ago
Stack Trace
#0 /usr/home/www/.../forums/library/MediaSites/Twitter.php(14): XenForo_Application::handlePhpError(8, 'Undefined index...', '/usr/home/www/v...', 14, Array)
#1 [internal function]: MediaSites_Twitter::buildEmbed('561918684105408...', Array, 'twitter')
#2 /usr/home/www/.../forums/library/XenForo/BbCode/Formatter/Base.php(1862): call_user_func_array(Array, Array)
#3 /usr/home/www/.../forums/library/XenForo/BbCode/Formatter/Base.php(1742): XenForo_BbCode_Formatter_Base->_getMediaSiteHtmlFromCallback('561918684105408...', Array, 'twitter')
#4 [internal function]: XenForo_BbCode_Formatter_Base->renderTagMedia(Array, Array, Object(Sedo_TinyQuattro_BbCode_Formatter_Base))
#5 /usr/home/www/.../forums/library/XenForo/BbCode/Formatter/Base.php(745): call_user_func(Array, Array, Array, Object(Sedo_TinyQuattro_BbCode_Formatter_Base))
#6 /usr/home/www/.../forums/library/XenForo/BbCode/Formatter/Base.php(652): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#7 /usr/home/www/.../forums/library/XenForo/BbCode/Formatter/Base.php(565): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#8 /usr/home/www/.../forums/library/XenForo/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#9 /usr/home/www/.../forums/library/XenForo/BbCode/Formatter/Base.php(526): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#10 /usr/home/www/.../forums/library/XenForo/BbCode/Parser.php(505): XenForo_BbCode_Formatter_Base->renderTree(Array, Array)
#11 /usr/home/www/.../forums/library/XenForo/ViewPublic/Forum/View.php(64): XenForo_BbCode_Parser->render('I really wouldn...', Array)
#12 /usr/home/www/.../forums/library/XenForo/ViewRenderer/Abstract.php(227): XenForo_ViewPublic_Forum_View->renderRss()
#13 /usr/home/www/.../forums/library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Rss', Array, 'forum_view')
#14 /usr/home/www/.../forums/library/XenForo/FrontController.php(586): XenForo_ViewRenderer_Rss->renderView('XenForo_ViewPub...', Array, 'forum_view', NULL)
#15 /usr/home/www/.../forums/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#16 /usr/home/www/.../forums/index.php(13): XenForo_FrontController->run()
#17 {main}
Request State
array(3) {
["url"] => string(89) "http://.../forums/forums/world-politics-current-affairs-and-news.35/index.rss"
["_GET"] => array(1) {
["/forums/forums/world-politics-current-affairs-and-news_35/index_rss"] => string(0) ""
}
["_POST"] => array(0) {
}
}
Sedo_TinyQuattro_BbCode_Formatter_Base
Yes, it's his TinyQuattro editor which I have as an option.'Sedo' I think refers to Cedric so maybe see what he has to say about that since if I had to guess that refers to his addon which replaces the stock xf editor, though I could be wrong as I don't use it myself.
Nah it's not unusual, it's a third party site with no external control/beacon for content (nothing direct that could be done that wouldn't require something custom to monitor something and store it internally like [tweet:state] ) and that can happen, which means something should be done by twitter or end developers (people like me) so that removal of content can fail gracefully with a little less misery.Glad to be of help. I guess it's one of the more unusual cases to check for and probably just needs a tweak to catch the "no such tweet" response that Twitter is sending.
As I say, this add-on has been fine for ages, and after removing that missing tweet continues to do great service, so thanks!
Only one bearer token may exist outstanding for an application, and repeated requests to this method will yield the same already-existent token until it has been invalidated.
https://dev.twitter.com/oauth/reference/post/oauth2/token
We use essential cookies to make this site work, and optional cookies to enhance your experience.