How to implement Ionic Deeplink when link has multiple parameters - firebase

I need someone to explain to me how can I use ionic-deeplinking in my project.
The scenario is this I have a link https://dev-testing-app.web.app/auth-handler?mode=action&oobCode=code, and I want to redirect the user when they clicked the link to a certain page. The problem is I don't know what endpoint should I place in line 23 since the link has multiple query parameter which are mode and code. Is there a way to implement this?

Related

Setting Dynamic deeplink with query param With dynamic link in Firebase Using React Native

I want to set the dynamic deep link with query param. For example, Suppose I've got the following information, Let's say for user1 the URL is https://example.com/res/?appId=67abeuusbev&value=55673 this link will be dynamic. i.e. for user2 it can be https://example.com/res/?appId=67abeuusbev&value=55674. I've set up the Firebase dynamic link. For example, say exampletest.page.link/SYu7 . Now I want to set up the deeplink in such a way that those appId and value (https://example.com/res/?appId=67abeuusbev&value=55674) can be set dynamically as a deep link whenever this link will be clicked from a web browser and based on the respective param values I can handle the link. Is there any way to do the same in the firebase dynamic link? I'm using React Native. Thanks for the consideration in advance.
If you're looking into modify short Firebase Dynamic Links programmatically, then it's currently not possible. The only way to update the parameters configured (i.e. deep link) in a short FDL is through the Firebase console, and only short FDLs created from the console can be edited. Short FDLs created programmatically are not displayed in the FDL dashboard.
As a workaround, you can create long FDL manually - by appending parameters and its values. Note that deep links need to be URL-encoded if it has multiple parameters.
i.e. https://exampletest.page.link/?link=https%3A%2F%2Fexample.com%2Fres%2F%3FappId%3D67abeuusbev%26value%3D55674
You can check if the deep link will be able to carry the parameters configured in it by debugging the Dynamic Link using preview page flowchart.

QR code - automatically redirect to URL

its not a programming question but really need it. I am creating a QR code that should redirect user to specific URL - let's say "http://facebook.com". Scanning all QR codes created by different creators I have used behave in such a way that it shows the URL and ask me if I want to open it. Can i force to open it in a browser without showing an URL like on the picture?
Okey, maybe someone will need it - you can't do it. It's all matter of app and most do like in the example - they let user decide if he or she wants to open this URL

Can't get a value from an URL parameter

I'm trying to integrate the Google+ API in my web application which is developed in Angular2 so I can login to the home page using my Google account credentials and without the need to create a new account. I made a clickable html link that has the following href
https://accounts.google.com/o/oauth2/v2/auth?response_type=code&client_id=**********.apps.googleusercontent.com&scope=email&redirect_uri=http://localhost:3000/home
Once clicking on it, it demands for permission through my google account and when i authorize, it redirect me to the http://localhost:3000/home?code=4 the problem is that I need the whole code's value so that I can use it to get the Access Token but I don't know why the value appeared then it went hidden in less than a second and just keeping the first letter of the code (which is 4 in this case). The problem that if I go back to the previous page of the browser it will appear again.
Any help please? Or Is there any Function in Angular2 that tells the browser to go back to the previous page so I can get the whole code ?

Acces to LinkedIn API for Apply Now button

I'm trying to add an 'Apply by LinkedIn' button to my website. I realise the plugin was deprecatad and am trying to use the JS SDK to create this. What I currently have in place (as documented here) will allow me to sign in to my account, however, the documentation doesn't go any further. How is the user to apply for a specific position, should this be referenced in the url somewhere?
Also, I've submitted the application to access the API but have heard nothing back after 9 days.
Any feedback appreciated,
Thanks :)

sharing my page URL on twitter via twitter share button

I have a problem using twitter share button on my asp.net page.The problem is that when I click on the share button i want it to share the URL of my page which the share button exists for example "http://localhost:1349/Pages/Share/ShareRedeemtion.aspx?UID=2&GiftID=1&MID=2 via#QhatAPP" but for some reason which i can't figure the button only share the title of the page, I'm confused is there is a problem with twitter share button to share URLs which contains a query string? and if do exists a problem is there any way enables me to share my URL on twitter via twitter share button?
You appear to have 2 problems:
You need to encode the URL you are passing in because, yes, it has a querystring on it. Check out URLEncode if you need to.
It also doesn't appear to work with non-publicly accessible Urls (your localhost in the sample). It may be doing some sort of callback to check that the Url is accessible or checking for Spam.
A sample that works with a querystring.
https://twitter.com/share?url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F8190644%2Fsharing-my-page-url-on-twitter-via-twitter-share-button%3Ftemp%3D1&text=Test+Link
For more information and properties for the button, check https://dev.twitter.com/docs/tweet-button

Resources