i've a bot into integromat that works fine when i send a text to translate using the google translate API, but when an image is send to it it crashes due to the image because obviously it can not be translated.
So, my question is if there can be images avoid to be translated using some integromat module to extract only text from a message and send the image also without tranlating it.
This is my actual bot integrated with telegram for text only.
Thanks for any help
If image files are causing an error in the "send message" module, you can set an error handler and use another "send message" module as the error handler. Here's a guide on how to use error handlers: https://support.integromat.com/hc/en-us/articles/360001986413-Introduction-to-Error-Handling
Related
I have a (working) custom URI scheme that opens an app in my local machine. It looks somewhat like this:
customscheme://?ip=xx.xx.xx.xx?platform=xx
I am trying to send the user a message using the Slack API including a link that opens the custom URI. It seems to work with mailto: links but not with mine.. The syntax I am trying is the following:
<customscheme://?ip=xx.xx.xx.xx?platform=xx|Open Uri>
or
[Open Uri](customscheme://?ip=xx.xx.xx.xx?platform=xx)
without success.
The thing is, I am able to create the link from the UI using the Link (Ctrl+Shift+U) functionality, pasting the exact same link from above. The outcome is exactly what I want, the text with the custom URI as the link (and it opens it after a security check).
Is there some security concern that keeps me from getting this done?
I found that inserting some word before ? then will work well
customscheme://foo?ip=xx.xx.xx.xx?platform=xx
As per https://core.telegram.org/bots#deep-linking
I have crafted a deep linking start URL
http://t.me/<my_bot>?start=token
When i enter this into my iOS safari browser it redirects to telegram, but the param is missing.
I see a start button, but when clicked it is just '/start' with no supplementary part where the should be.
I'm expecting to receive
"start " as the message text on the webhook update.
Does anybody know why the param would be missing?
Thanks
Sorry I don't have enough points to add a comment to your question, just wanted to tell you it doesn't work with Android too.
Ok, so it happens the mobile app (either Android or iOS) shows /start but actually sends /start token to the bot, where token is whatever you put after ?start=. Check your bot incomming messages.
we have an app with a form. When the user clicks on "send" I want outlook(!) to open and there appeared html table in the body, which the user can still edit. Help, how to implement it?
At first I wanted to use mailto, but found that it only supports text, not html.
Don't criticize me too much, I'm new to this case, thanks
Are you running that code on the server (ASP)? You cannot launch Outlook on the client machine, that must be done by the client side script only. And that will only work if you are running IE and your site is marked safe.
Try to simply serve an EML file - the client side browser will open it using the local mail client. To make sure the message is sendable, set the X-Unsent MIME header to 1.
I am using the Paw app for testing API calls to many different endpoints. We have our own admin web app where we can lookup endpoints that I want to test. Now I am copying the URL and pasting it into Paw and then copying the username or API key separately.
It would be awesome if I could add a custom "Open in Paw" link, that prefills the endpoint and auth details. Paw itself uses a "paw://" link for their new serial number registration.
Is it possible to use that schema to do this?
I could not found any documentation on this.
It is possible to use paw:// schema for the custom link.
It should start with either paw://current.document/open? or paw://new.document/open?
Then you can choose to open text or URL and give it a url-encoded value like text=curl%20-X%20%22GET%22%20%22https:%2F%2Fecho.paw.cloud%2F%22%20%5C%09-H%20%22Cookie:%20sessionid%3Dvr3qftico4qeri1l21mayf40axdyidlt%22
Then choose one of our importers from https://paw.cloud/extensions?extension_type=importer for importing the format of your text/url-resource and include the identifier in the link &importer=com.luckymarmot.PawExtensions.cURLImporter
So the full link can look like this paw://current.document/open?text=curl%20-X%20%22GET%22%20%22https:%2F%2Fecho.paw.cloud%2F%22%20%5C%09-H%20%22Cookie:%20sessionid%3Dvr3qftico4qeri1l21mayf40axdyidlt%22&importer=com.luckymarmot.PawExtensions.cURLImporter
I am trying to get this thing to work for a couple days since it's my first time working with the OAuth system without any luck.
I have been experimenting here: https://developers.google.com/youtube/v3/docs/subscriptions/insert#try-it
With the following settings:
http://i.gyazo.com/5cd28f1194d5dfebee25d07bc0db965e.png
When I execute the code it successfully subscribes to the specified channelIdaccount with the authorized account.
I have tried to copy paste the shown POST URL into my browser without any luck. The plan was just to test it as I would like to implement this in PHP.
Now to my questions:
The {YOUR_API_KEY}, is this where I am supposed to type in the access token? If so, do I need the &mine=true tag at all?
I just realized that there are no ID's in the URL but there is an JSON-object in the request box example. Am I supposed to convert a string to JSON-object and pass it to the $fields= tag?