django social share buttons

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 22

  • @harshhes
    @harshhes Год назад +1

    how can we do this in django rest framework via APIs?

    • @codepiep
      @codepiep  Год назад +1

      That is something to ponder on ! Will try to explore it soon...

  • @chahatsingh7951
    @chahatsingh7951 3 года назад +1

    Very useful.. Thanks for sharing

    • @codepiep
      @codepiep  3 года назад

      I am glad it was helpful

  • @sort_to_see_hidden_comments
    @sort_to_see_hidden_comments 2 года назад +1

    Thanks for sharing, But what we need to do, so our image will also displayed when clicking on the social-share link?

    • @codepiep
      @codepiep  2 года назад +1

      The forst image from your post will automatically be taken for the share ... Provided you should have an image on your page

    • @sort_to_see_hidden_comments
      @sort_to_see_hidden_comments 2 года назад

      @@codepiep
      I had to set meta tags.
      but I guess it's perhaps because I used the simple , straight-forward method to create social-links, instead of the plugin you made use of in this video, anyway, both our methods work, and this is the only thing that matters.

  • @abkzquotes496
    @abkzquotes496 3 года назад +1

    Great 👍

  • @poleroso85
    @poleroso85 Год назад

    Thank you!

  • @oumarberete4378
    @oumarberete4378 2 года назад +1

    Is automatic share, like if I post a new article then automaticaly share it on facebook or twitter?

    • @codepiep
      @codepiep  2 года назад

      I don't know if it's possible in my knowledge... But there must be some way !

  • @priyanshigupta1359
    @priyanshigupta1359 3 года назад +1

    I m using fontwlawesome for icon but it is not recognising the html in those curly brackets

    • @codepiep
      @codepiep  3 года назад

      Try using the fontawesome icons outside the curly brackets, in your project templates. Why because, you might have added font awesome dependencies in your project files not in social share files. That's why it is not taking your custom CSS in social share templates... Hope this makes things clear

  • @HRGH-qm7lu
    @HRGH-qm7lu 3 года назад +1

    Thank you man

    • @codepiep
      @codepiep  3 года назад

      Glad you liked it

  • @inotilaatinghaamwa9333
    @inotilaatinghaamwa9333 Год назад +1

    Hi, the buttons are working, and the link is being shared but its not showing the the image. Any suggestions of what i may have missed? The link does indeed have an image , but that image is not part of the link preview which is what i want.

    • @codepiep
      @codepiep  Год назад +1

      Hi, this is a third party library so we need to check the documentation once

    • @inotilaatinghaamwa9333
      @inotilaatinghaamwa9333 Год назад

      I think i fixed it. So you know that , i didn't fully understand how to use it. I included e.g. details.art_url (the django link to my image which is stored on cloudinary) to the template and it now shows, at least for facebook.

  • @soulless8471
    @soulless8471 2 года назад +1

    thanks

  • @sharimrahman1559
    @sharimrahman1559 3 года назад +1

    Bhai usko icon kaise banaye? Plz help

    • @codepiep
      @codepiep  3 года назад +1

      Download an icon online, maybe SVG or use fontawesome... Go to the template of that particular share option and modify the html using SVG or icon...

  • @ChukinHD
    @ChukinHD 2 года назад +1

    Hola amigos jajaja xd