]> git.mxchange.org Git - friendica-addons.git/blobdiff - ifttt/ifttt.php
Merge pull request #379 from Hypolite/ifttt-missing-nickname
[friendica-addons.git] / ifttt / ifttt.php
index 3203fec46921cd372e9becaebe66ddecb273028c..38236509570412638e098a6af85b5ad9ee2026b6 100644 (file)
@@ -46,9 +46,9 @@ function ifttt_settings(&$a,&$s) {
         $s .= '</span>';
 
         $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 'Maker' with the following parameters:").'</p>';
+       $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>';