I'm looking for the tweetURL

Oct 2, 2014 at 9:59 PM
Hi, I have a working page showing Status, CreatedAt text.
It's working fine. now i want to ad the ProfileImageUrl (User image URL) and the link to the tweet.

Would "Source" give me the link?
how would i add it to this code. Please help thank you.
            var statusTweets = from tweet in twitterContext.Status
                               where tweet.Type == StatusType.User &&
                                     tweet.ScreenName == twitterAccountToDisplay &&
                                     tweet.IncludeContributorDetails == true &&
                                     tweet.Count == 10 &&
                                     tweet.IncludeEntities == true
                                  // ????  tweet.Source == true
                               select new Tweet
                               {
                                   CreatedAt = tweet.CreatedAt.ToShortDateString(),
                                   //ScreeName = tweet.ScreenName,
                                   Status = tweet.Text,
                                //?? tatus = Source.Text
                               };
THANK YOU.

Image
Coordinator
Oct 3, 2014 at 6:35 AM
Hi,

There isn't a property with the URL, but you can pull ScreenName and StatusID and build it. e.g. if ScreenName is XamarinAppDev and StatusID is 516588365287030784, then the URL should look like this:
https://twitter.com/XamarinAppDev/status/516588365287030784
@JoeMayo
Marked as answer by l3ny on 10/3/2014 at 6:29 AM
Oct 3, 2014 at 1:29 PM
Thank you Joe. You're Great!