Can a Appsflyer link pass parameters from a partners' email template into my native ios or andorid app? - url-parameters

I am working with a partner company that sends out digital gift cards. The way it works when you receive a digital gift card, you need to click on a link in the initial email which takes you to a webpage that reveals your gift card details in a template they created.
I want to add a link to their template that when clicked on via mobile, will pass through the gift card number and pin to my app for both ios and android users. I figured I could use AppsFlyer to deep link the parameters into my app but I don't know how to write the link or code to pass through the gift card details that will be different for everyone viewing this template.
When I inspect the webpage the gift card number(example) is in the code like so:
<div class="utility-button-secondary-text-style">7042 5237 8166 8878 234</div>
Can anyone explain in layman's terms how to write the link and set it up in AppsFlyer to deliver the code into the app?

Related

How to create MS Teams Survey App Messaging Extension

I am currently creating a survey app for ms teams similar to Polly.ai/survey monkey
The flow would be
User installs app,
app appears as messaging extension on the chat window,
user clicks app to opens page to create survey,
on submit an adaptive card is generated,
the same is responded back to teams,
The new card appears on the message Hi,
I am currently creating a survey app for ms teams similar to Polly.ai/survey monkey
The flow would be
User installs app,
app appears as messaging extension on the chat window,
user clicks app to opens page to create survey,
on submit an adaptive card is generated=>
the same is responded back to teams =>
The new card appears on the message create pane,
User hits enter to post the survey to the group,
All the group members respond to the survey ,
The same is logged
Can anyone help me in providing some links from where I can start.
Or maybe throw some light on what should be my approach.
My progress so far.
Created a teams bot,
On messaging extension invoke returned url that contains HTML for survey creation which is created in vue.js. Used msteams js to submit the json for created survey back to the bot,
Generated an adaptive card with json received and the a new survey created in db,
Sent the card back to teams as message attachment,
The card is displayed in message create pane,
User hits enter to post the card in the group,
Caught the action.submit event from adaptive card on bot framework.
Also, please note while I am generating the card I don’t have user email in the turncontext as well.
Please throw some light on this
Thanks
Please have a look at App templates available. I think for your case Poll and Survey are the best app template available.
Thanks

Is it possible to show "current meeting attendees" via an Adaptive Card?

I have somewhat of a unique use case where my team needs a 24-hour conference bridge. To keep the Teams chat threads from getting too long, I currently re-create the conference bridge via a Flow once each month. The Flow creates a new meeting invitation and posts an adaptive card with a "join" button that has a direct link into the current meeting.
One feature we're missing from the "meet now" or "schedule a meeting" feature in our team channel is the faces of the people that are currently present in the meeting. Is it possible to recreate this via the adaptive card? Or, is there another way for me change to flow to maybe post a "meet now" message once per month instead of a custom adaptive card?
Please let me know if you want some more detail or if my request doesn't make sense for some reason.
Thanks ahead of time!
You can create a deeplink to schedule a meeting using
https://teams.microsoft.com/l/meeting/new?subject=<meeting subject>&startTime=<date>&endTime=<date>&content=<content>&attendees=<user1>,<user2>,<user3>,...
and you can specify this as the URL target in your card's button or tap action through the openUrl action type. For more details please go through the documentation.

Adaptive Cards : Dynamic data binding on Action.Show Card

I am working on Adaptive Cards in Teams.
I am able to send a card and update the card based on the user action.
However i am wondering if it is possible to load data in the Adaptive Card dynamically by calling a REST API when Action.ShowCard is called. For Example in the below, When clicked on More Info, I would like to call an API and then populate the ShowCard data with the API responses. Is there any way we can achieve this ?
You can not bind data dynamically onclicking of the action.showcard button using api call because the action.showcard's card will loads with the parent card so when click on showcard it will shows what ever loaded initially. This is by design

Create a deep link to audio call in microsoft teams

I have an adaptive card and I want to add a button that has call functionality to a specific person in this card "the person is in my organization microsft team". How can I create a call via deeplink to audio call?
Edit:
This link will redirect to the chat window with the user:
https://teams.microsoft.com/l/chat/0/0?users=
How can I do the same but for audio/ video calls?
You will need to implement calling in your Bot to be able to make audio calls using Bot. Please go through Calling and Meeting Bot overview. Here are few samples to try out.
https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/V1.0Samples/LocalMediaSamples
Here is the equivalent link for calls:
https://teams.microsoft.com/l/call/0/0?users=user#domain.ext
And if you're not worried about users who don't have the Teams app installed, you can try:
msteams://teams.microsoft.com/l/call/0/0?users=user#domain.ext
This latter link will not go through the browser. It will however pop up a message requesting permission to open the app. Choose your poison.

Paypal website payment hosted pro "Please select a valid card type." in iFrame

I am trying to update an existing Magento 1.9 EC site to start to use PayPal Website Payment Pro as payment method but am hitting an issue with the behaviour within the iframe.
I have created a sandbox account for both the buyer and business, the settings are working and I can make the payment if I use the "Pay with Paypal" button. The sandbox credit card also works if in the PayPal page I use it without being logged in.
But if I try to use the credit card in the iFrame I have the "Please select a valid card type." message show up. Invalid credit cards will not show that specific message.
It looks like it wants me to make an action to select Visa as the type, but the card type cannot be selected, it detects the number as a Visa card, greys out the other types and keeps the Visa one visible.
This seems to be all happening within the iFrame I use to host the result of the initial request which builds the form on the paypal site.
Also, the rest of the integration seems to be working, if we use the "Pay with Paypal" button, complete the credit card payment on that page we go back to the proper return page and the order records the payment in Magento.
Which makes me wonder why there is only an issue within that iFrame?
Is that solution not working? Should we look at some of the other options?
Log in to your developer paypal account.
choose the merchant account you have created and click the profile tab
Use the credit which is displayed under Funding Tab..
You can add more cards by logging into your sandbox.paypal.com using merchant account u created and goto profile->credit cards which is under financial information
Hope this helps

Resources