[ifttt] Add missing nickname in the callback URL
authorHypolite Petovan <ben.lort@gmail.com>
Sun, 9 Oct 2016 00:58:57 +0000 (20:58 -0400)
committerHypolite Petovan <ben.lort@gmail.com>
Sun, 9 Oct 2016 00:58:57 +0000 (20:58 -0400)
ifttt/ifttt.php

index b0e5e122a6f495f6053bead165351524b69b027e..38236509570412638e098a6af85b5ad9ee2026b6 100644 (file)
@@ -48,7 +48,7 @@ function ifttt_settings(&$a,&$s) {
         $s .= '<div id="ifttt-configuration-wrapper">';
        $s .= '<p>'.t("Create an account at <a href='http://www.ifttt.com'>IFTTT</a>. Create three Facebook recipes that are connected with <a href='https://ifttt.com/maker'>Maker</a> (In the form 'if Facebook then Maker') with the following parameters:").'</p>';
        $s .= '<h4>URL</h4>';
-       $s .= '<p>'.$a->get_baseurl()."/ifttt/".'</p>';
+       $s .= '<p>' . $a->get_baseurl() . '/ifttt/' . $a->user['nickname'] . '</p>';
        $s .= '<h4>Method</h4>';
        $s .= '<p>POST</p>';
        $s .= '<h4>Content Type</h4>';