New Landing How can we help? Themeforest Theme Support Dante Display nice tweet with images

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #265407
    Marine
    Member
    Post count: 151

    Hello,

    I managed to activate Twitter Feed Auth and I’ve integrated in my page the element “Latest tweet” with 2 tweets. I’m surprised because I have the tweet on 1 line without the image. I’d like to integrate the tweet like I see it on twitter, cf print screen 1 and 2.
    How can I do?
    Thanks for your help
    Marine

    Attachments:
    You must be logged in to view attached files.
    #265454
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Your site is in maintenance mode, what’s the login?

    – Kyle

    #265455
    Marine
    Member
    Post count: 151

    Hop maintenance mode removed.

    #265526
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    If you want it to show like twitter then you will need to get a twitter widget code from https://twitter.com/settings/widgets

    – Kyle

    #265541
    Marine
    Member
    Post count: 151

    It’s what I’ve tried before. But sometimes it’s displayed, sometimes when I save the page, the code change by himself. Here is the example:
    I enter it a text block / text (code taken on Twitter widget) :

    <a class="twitter-timeline" href="https://twitter.com/MSF_france" data-widget-id="727170311590952960">Tweets de @MSF_france</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

    I save and go back in the block. The script changed for:

    <a class="twitter-timeline" href="https://twitter.com/MSF_france" data-widget-id="727170311590952960">Tweets de @MSF_france</a>
    <script>// <![CDATA[
    // <![CDATA[!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");// ]]>
    // ]]></script>

    What can I do?
    Thanks for your help,
    Marine

    #265543
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You need to use the raw html element instead of a text box

    – Kyle

    #265545
    Marine
    Member
    Post count: 151

    OK, I’ll see if the post is more stable.
    For my knowledge, when is the Raw js useful? (in your documentation, is there a description of each element?)

    #265551
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Is you have a script to add to your site you can use the raw JS

    All of the elements are listed on the demo with examples

    – Kyle

    #265552
    Marine
    Member
    Post count: 151
    This reply has been marked as private.
    #265554
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register