How about some Twitter embedding?

Discussion in 'The Red Room' started by Order2Chaos, Jul 22, 2016.

  1. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    There've been half a dozen times in the last couple days I've wanted to embed a Tweet, but I can't. Worse, the BBCode is irregular, so I can't just write a new one like I did with YouTube embedding back on vB; it needs a plugin I can't get. I don't have access to the XF resources forum as I didn't buy the software. Is there a way I can get a login (or add my XF account to the WF account somehow?), or John (or gul?), if you'd like to do it...
    • Agree Agree x 2
  2. Amaris

    Amaris Guest

    Ratings:
    +0
    I added an extra BBCode media site. All you have to do is paste your tweet url and it should automatically format it, like so:

    • Agree Agree x 1
    • Thank You! Thank You! x 1
    • Winner Winner x 1
  3. Amaris

    Amaris Guest

    Ratings:
    +0
    You may have to hit refresh in order to see it after you post it, but there you go.
  4. gul

    gul Revolting Beer Drinker Administrator Formerly Important

    Joined:
    Mar 23, 2004
    Messages:
    52,375
    Location:
    Boston
    Ratings:
    +42,367
    Nice! Good suggestion, and presumably John's hack achieves the desired result, O2C?
  5. gul

    gul Revolting Beer Drinker Administrator Formerly Important

    Joined:
    Mar 23, 2004
    Messages:
    52,375
    Location:
    Boston
    Ratings:
    +42,367
    Just trying this.

  6. gul

    gul Revolting Beer Drinker Administrator Formerly Important

    Joined:
    Mar 23, 2004
    Messages:
    52,375
    Location:
    Boston
    Ratings:
    +42,367
    Great, easy to use. Anybody want dibs on announcing this?
  7. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Huh, I was under the impression we needed a plugin. Maybe we shouldn't center it, but otherwise looks good. :techman:

    EDIT: I thought that particular Twitter API was deprecated? We should make sure it's not going to suddenly stop working.
  8. Amaris

    Amaris Guest

    Ratings:
    +0
    The HTML I added is supposed to adapt to any general changes Twitter makes to their API. Unless it's something severe, we should be alright. I mean, look at what Facebook pulls and the BBcode for it still works.
  9. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Fair point. I'll decenter it, then soft-launch it in the Red Room.
    • Agree Agree x 2
  10. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
  11. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Okay, it looks like I can't put the iframe inline with the text. Oh well. Still removing the alignment. I've just taken out the outer div, because without the align="center", it's pointless to have. (I know a couple things about HTML! Not enough, but that much!)
    Last edited: Jul 23, 2016
  12. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Hmm, they don't quote well, at least not at the bottom of posts...
  13. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
  14. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    I don't see why it's only rendering the top 150 out of 203 points when quoted. Doesn't make sense....
  15. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
  16. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
  17. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Last edited: Jul 23, 2016
  18. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Okay, quoted tweets suck less now, but they have to be followed by enough lines of text that the "Expand" would be necessary. I wonder if I can simulate this with enough line breaks, and if it doesn't suck too much to do so...
  19. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    The answer to the first question is "yes I can", and to the second, "yes it does suck too much."
    • Funny Funny x 1
  20. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Oh, never mind, the expand bit is just taking a long time to show up for some reason. Seems to be working... well enough, let's say. Also, YouTube videos will now be a max of 250px tall in quotes rather than 150. Sorry/not sorry.

    EDIT: nope, that's not it...
  21. Amaris

    Amaris Guest

    Ratings:
    +0
    Honestly, I think it works well for what it is. Xenforo doesn't actually support full featured Twitter embedding unless you go with a resource hungry add-on. I realize I'm probably one of the few, but I really don't like this software. :lol:
    • Agree Agree x 1
  22. Quincunx

    Quincunx anti-anti Staff Member Administrator

    Joined:
    Mar 31, 2004
    Messages:
    20,211
    Location:
    U.S.A.
    Ratings:
    +24,062
    On the rare occasions I want to post a tweet, I just screenshot and crop. Seems to work, but not sure what it looks like to PC browsers.
    • Agree Agree x 1
  23. shootER

    shootER Insubordinate...and churlish Administrator

    Joined:
    Mar 27, 2004
    Messages:
    49,392
    Location:
    The Steam Pipe Trunk Distribution Venue
    Ratings:
    +50,934
    I do the same thing, but I'd be up for this if it worked faster than that.
  24. Amaris

    Amaris Guest

    Ratings:
    +0
    This is essentially copy the url and paste. It then renders the image for you, no cropping required.
    • Agree Agree x 2
    • Thank You! Thank You! x 1
    • Winner Winner x 1
  25. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Yeah. Paste the link, or paste and match style if you have WYSIWYG editing on.
  26. Order2Chaos

    Order2Chaos Ultimate... Immortal Administrator

    Joined:
    Apr 2, 2004
    Messages:
    25,208
    Location:
    here there be dragons
    Ratings:
    +21,445
    Wait, didn't you pick XF to replace vB? I know I sure didn't.

    Anyway, what's the add-on look like in terms of resource consumption? Them not showing up when you first post is kinda annoying.
  27. shootER

    shootER Insubordinate...and churlish Administrator

    Joined:
    Mar 27, 2004
    Messages:
    49,392
    Location:
    The Steam Pipe Trunk Distribution Venue
    Ratings:
    +50,934
  28. shootER

    shootER Insubordinate...and churlish Administrator

    Joined:
    Mar 27, 2004
    Messages:
    49,392
    Location:
    The Steam Pipe Trunk Distribution Venue
    Ratings:
    +50,934
    Well I'll be damned.

    That simplifies things. :techman:
  29. Amaris

    Amaris Guest

    Ratings:
    +0
    Nope, I didn't pick it. I would have picked something else.

    I don't know, but it's part of some kind of multi-purpose add-on. I'm also pretty certain it's made for Xenforo 1.4 or better.
    • Agree Agree x 1
  30. gul

    gul Revolting Beer Drinker Administrator Formerly Important

    Joined:
    Mar 23, 2004
    Messages:
    52,375
    Location:
    Boston
    Ratings:
    +42,367
    Xenforo was a suggestion made by Chup. None of the original Horsemen knew much about the under the hood stuff, but we liked some of the features like easy inline posting of videos and social network integration. The latter feature we never ended up using, because too many people had a fit about that particular prospect. So whether it actually gives us anything on the front side that can't be achieved through other means, I don't think anybody is completely wed to Xenforo above all else.