Telegram bot get the custom perimeters passed in url - php

tg://resolve?domain=botname&start=mycutomtoken
my question is how can i get this "mycutomtoken" when user is redirected to telegram
I'm using webhook here to interact with bot now here how can I access this mycustomtoken on webhook page
I've tried many things but when I hit webhook page directly it displays nothing

Related

Link Paypal Html Script and webhook

I am using the Paypal Subscription Button Html and Script provide by paypal. Now I wanted to link with paypal webhook. I want to track the events like BILLING.SUBSCRIPTION.RENEWED and BILLING.SUBSCRIPTION.CANCELLED.
Is this possible without using the App keys? When I created the App , I created with the same paypal-id so, that means my all webhooks in app is going get render when subscription event take place, without attaching any keys with it ?
Anyone there who can solve my query?
In order to receive Webhook events, you need to first subscribe to them.
For information on ways to subscribe to Webhook events for an application, see the PayPal documentation here.
It can be done via an API call, or via the Developer Dashboard.

Telegram WebHook query string

I wonder if there is a possibility to pass GET query string to a telegram bot backend using Webhook.
For example, when i share a link to my bot, e.g. t.me/mybot?param=value
Is there any way i can access a param=>value pair when receive webhook requests from Telegram on my backend whe the user enters a channel or type any commands?
P.S. looking for conceptual answers not an actual code. Thanks!

How to send a webhook request url for evernote on each create and update note event

I just tried to request a web hook url with end point http://xyz.php to be registered in evernote with a sandbox environment. I want to get notifications everytime when any user update or create any note in notebook. Am I following the right procedure to send the url with this endpoint or should I add any filter with the url and send different url with user id and notify filter?
I am using php for calling api.
My question is what should be the exact webhook url to be send? Please suggest.
The URL should be anything that can accept HTTP GET from Evernote servers. The possible formats are listed here: http://dev.evernote.com/doc/articles/polling_notification.php#webhooks

Telegram problems with updates

I'm trying to create a simple bot for Telegram, I have settled the webhook correctly.
My problem is that I'm not able to get updates using file_get_contents("php://input"). I obtain the JSON object only if I use file_get_contents($mywebsite."/getUpdates"); and in that way I'm able to obtain the info of the chat.
Anyway I can send messages only if I reload my web page and not directly from the Telegram app.
How can I fix this problem?

error blockchain recive api code

as you see in the title
i need help with bitcoin payments api
i have a website all i need is an api that generate a new address for each payment and send the amount that i specify and get a call back with an invoice_id and a link and a number
i did everything as mentioned on the blockchain api page not the wallet api
but i cant get it done because i dont recive a callback
i can generate address and the money come back to my address all the problem is i dont recive the callback to my url
also when i test the URL manualy everything is working
anyone can help me or can give me a working version of blockchain api i use this [https://github.com/blockchain/receive_payment_php_demo]
You can go to the receive payments API page here: https://blockchain.info/api/api_receive and put in your callback URL, as well as a bitcoin address. When you click 'submit', you can see an option to fire test callbacks to see if the blockchain server can interface properly with yours (and if not, what error message is generated).

Categories