Why does my URL break when shared through messenger?

ZoapZoap USMember
edited November 2017 in Xamarin.Android

I have set up a Share button that I intend (no pun intended) to share a url through various means.
If i choose copy to clipboard and paste the url into chrome it works, but if I send the url through messenger the preview in messenger shows all the correct information but when clicked the page does not accept the parameters and links to the default page.

Is there some big secret to building your links for messenger?
Or is the problem in how facebook redirects?

Intent sendIntent = new Intent();
sendIntent.SetAction(Intent.ActionSend);
sendIntent.PutExtra(Intent.ExtraText, url);
sendIntent.SetType("text/plain");
StartActivity(Intent.CreateChooser(sendIntent, "Share"));

EDIT: If I share through facebook (post it on my timeline) the link also works, it seems that for some reason sharing through messenger changes one of the parameters "example.com/calendar?eventId=" to "example.com/calendar?eventid=" changing the "I" in eventId from upper to lower case. I suspect that the problem is located in messenger.

Sign In or Register to comment.