2020-03-21 18:58:23 -04:00
|
|
|
|
using System;
|
|
|
|
|
using BirdsiteLive.Twitter.Settings;
|
2020-03-21 23:55:49 -04:00
|
|
|
|
using Tweetinvi;
|
2020-03-21 18:58:23 -04:00
|
|
|
|
|
|
|
|
|
namespace BirdsiteLive.Twitter
|
|
|
|
|
{
|
|
|
|
|
public interface ITwitterService
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class TwitterService : ITwitterService
|
|
|
|
|
{
|
|
|
|
|
private readonly TwitterSettings _settings;
|
|
|
|
|
|
|
|
|
|
#region Ctor
|
|
|
|
|
public TwitterService(TwitterSettings settings)
|
|
|
|
|
{
|
|
|
|
|
_settings = settings;
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
2020-03-21 23:55:49 -04:00
|
|
|
|
|
|
|
|
|
public void GetUser(string username)
|
|
|
|
|
{
|
|
|
|
|
var user = User.GetUserFromScreenName(username);
|
|
|
|
|
}
|
2020-03-21 18:58:23 -04:00
|
|
|
|
}
|
|
|
|
|
}
|