diff --git a/src/includes/mentor/resources/detail.pug b/src/includes/mentor/resources/detail.pug
index b91098368f444806c423d4b18adea486e520214e..f93829f93ce49f145ae396a7bd34d8bffd44ca1d 100644
--- a/src/includes/mentor/resources/detail.pug
+++ b/src/includes/mentor/resources/detail.pug
@@ -102,11 +102,13 @@ include ../../components/widgets
       widget-@id = 'cs-display-email-button'
     )
 
-    sib-display.twitter-link(
-      bind-resources
-      fields="@id"
-      widget-@id = 'cs-display-twitter-button'
-    )
+    //- sib-display#shareByTwitter.twitter-link.twshare(
+    //-   bind-resources
+    //-   fields="@id"
+    //-   widget-@id = 'cs-display-twitter-button'
+    //- )
+  script(async src="https://platform.twitter.com/widgets.js" charset="utf-8")
+  a(href="", target="_blank")#shareByTwitter.twshare.mdi.mdi-twitter
       
 
   sib-display(
diff --git a/src/scripts/coopstarter.js b/src/scripts/coopstarter.js
index bed5c99e10cfe98531f44874380aba7050aff864..94b7046b9f0cc17706ee99c0cbbbaf660a26d5c9 100644
--- a/src/scripts/coopstarter.js
+++ b/src/scripts/coopstarter.js
@@ -618,6 +618,11 @@ jQuery(document).ready(function($) {
     });
   }
 
+  //Manage the twitter button
+  $("#shareByTwitter").on("populate", function (e) {
+    var valUrl = window.location.href;
+    $('.twshare').attr("href", "https://twitter.com/intent/tweet?original_referer=http%3A%2F%2F127.0.0.1%3A3000%2Fevenements&ref_src=twsrc%5Etfw&tw_p=tweetbutton&url=" + valUrl + "&");
+  });
   //Manage the logout action
   manageLogoutButton();