Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Facebook component - Share Link doesn't show url and image url on device but does on simulator

$
0
0

Hi,

I noticed lately that the following wasn't working anymore.
It does on simulator but on device there is an activity indicator running within the Facebook frame as if it could not load the web page and image.
AppName, Message, imageUrl and Link are well formed and not null.

var shareDlg = new MyShareDialog();
                    var linkContent = new ShareLinkContent
                    {
                        ContentTitle = AppName,
                        ContentDescription = Message
                    };
                    if (!string.IsNullOrEmpty(imageURL))
                        linkContent.ImageURL = new NSUrl(imageURL);
                    linkContent.SetContentUrl(new NSUrl(Link));
                    shareDlg.SetShareContent(linkContent);
                    shareDlg.SetDelegate(new MyShareDelegate(tcs));
                    shareDlg.Show();

François


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>