Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: How to retrieve tweet text and creater hyperlink if text has an URL?

$
0
0
Hi again,

I am not sure how I can help you more than what I told you. Maybe some code will help?
var tweet = Tweet.PublishTweet("I think https://tweetinvi.codeplex.com is awesome");
var URLsContainedInTweet = tweet.Entities.Urls;
var tweetinviCodeplexComURL = URLsContainedInTweet[0];
var startingPositionOfURLInTweet = tweetinviCodeplexComURL.Indices[0];
var endingPositionOfURLInTweet = tweetinviCodeplexComURL.Indices[1];
Linvi

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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