Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Marco Milesi

    (@milmor)

    Hi,
    please make sure you added your channel username in the plugin options with the form @botname.

    Also, the bot must be administrator of your channel. You should be able to do this with your phone app (doesn’t work with web app).

    Thread Starter binox

    (@binox)

    sorry i meaned administrator (not moderator), i did that and the name in the settings of the plugin is correct (tryed whit 2 new created bot), i’m using the WPtele.ga option.

    the only thing i can think is some limitation on the bot name(?) the first one was Scbot1 @SCit_bot (maybe the big letter are a problem?) the second one and the one actually used is starcitizenitbot @starcitizenitbot (maybe same name is not right?)

    btw i’m from italy so if you need more specific information in italian just tell 🙂

    thanks

    Thread Starter binox

    (@binox)

    more info: when i send a message with the plugin test message i get an error: Warning: file_get_contents(https://api.telegram.org/bot(tokencode)/sendMessage?chat_id=%40starcitizenitbot&text=http%3A%2F%2Fstarcitizen.it%2Fstar-citizen-alpha-2-1-live%2F&parse_mode=Markdown&reply_markup=null): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /homepages/25/d567241662/htdocs/wp-content/plugins/telegram-bot/telegram-bot.php on line 206

    other info: i can send text message in groups whit the plugin menu BUT it will not send anything (only in groups, direct chat work) with zapier (probably cause of the beta, just wanted to give a feedback).

    Plugin Author Marco Milesi

    (@milmor)

    Il problema avviene anche mandando testo semplice? Hai provato a cambiare la versione PHP su 5.4 o superiore?

    Per la questione di Zapier controllo…

    Thread Starter binox

    (@binox)

    dunque: nei canali non manda nemmeno testo liscio, niente. nei gruppi manda testo liscio ma non zapier, nella chat privata del bot arriva sia zapier che testo liscio. Mi hanno riferito che va bene anche cosi perche quelli che usano il bot fanno copia e incolla del link dalla chat e la mettono nel canale a mano. pero se vuoi vedere di risolvere questa cosa ti aiuto facendo le prove 🙂

    versione attuale di PHP: 5.4.45
    (testo liscio provato con la funzione invia messaggio del plugin)

    Thread Starter binox

    (@binox)

    update: stamattina ho aggiornato il bot all’ultima versione, ora funzionano anche i gruppi (ricevono anche i link tramite zapier), invariata la situazione del canale che non riceve nulla, l’errore che ti dicevo si e’ spostato da linea 206 a linea 207 del file telegram-bot.php

    Plugin Author Marco Milesi

    (@milmor)

    Dunque… Nell’aggiornamento di stamattina mi sono documentato sugli errori che possono comparire.

    Prendi il messaggio di errore e isola il link in esso contenuto:
    https://api.telegram.org/bot … &reply_markup=null

    Poi prova ad aprirlo dal tuo browser. Dovrebbe comparirti il motivo dell’errore. In particolare, 400 Bad Request dovrebbe riferirsi a qualche parametro o configurazione errata.

    AmirHossein

    (@aghorbanmehr)

    why you changed the language?
    I’m facing the same problem!!!
    Please explain what should i do!!!

    Plugin Author Marco Milesi

    (@milmor)

    First, update php version. Then you can follow here: 🙂
    wordpress.org/support/topic/my-bot-doesnt-send-posts-to-channels

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not working in Channels’ is closed to new replies.