コード例 #1
0
 public MembersTest()
 {
     HootsuiteClient.Logger = (x) => { Console.WriteLine(x); };
     hootsuite = new HootsuiteClient(new
     {
         clientId     = Environment.GetEnvironmentVariable("HOOTSUITE_CLIENTID"),
         clientSecret = Environment.GetEnvironmentVariable("HOOTSUITE_CLIENTSECRET"),
         username     = Environment.GetEnvironmentVariable("HOOTSUITE_USERNAME"),
         password     = Environment.GetEnvironmentVariable("HOOTSUITE_PASSWORD"),
     });
 }
コード例 #2
0
ファイル: MeTest.cs プロジェクト: jnagorka/hootsuite-rest
 public MeTest()
 {
     HootsuiteClient.Logger = (x) => { Console.WriteLine(x); };
     hootsuite = new HootsuiteClient(new
     {
         accessToken  = "71f08d13-d442-439f-a6b0-fdc20f216f67",
         clientId     = Environment.GetEnvironmentVariable("HOOTSUITE_CLIENTID"),
         clientSecret = Environment.GetEnvironmentVariable("HOOTSUITE_CLIENTSECRET"),
         username     = Environment.GetEnvironmentVariable("HOOTSUITE_USERNAME"),
         password     = Environment.GetEnvironmentVariable("HOOTSUITE_PASSWORD"),
     });
 }
コード例 #3
0
ファイル: Media.cs プロジェクト: jnagorka/hootsuite-rest
 /// <summary>
 /// Initializes a new instance of the <see cref="Media"/> class.
 /// </summary>
 /// <param name="hootsuite">The hootsuite.</param>
 /// <param name="connection">The connection.</param>
 public Media(HootsuiteClient hootsuite, Connection connection)
 {
     _hootsuite  = hootsuite;
     _connection = connection;
 }
コード例 #4
0
ファイル: Owly.cs プロジェクト: ishandutta2007/hootsuite-rest
 /// <summary>
 /// Initializes a new instance of the <see cref="Owly" /> class.
 /// </summary>
 /// <param name="hootsuite">The hootsuite.</param>
 /// <param name="connection">The connection.</param>
 public Owly(HootsuiteClient hootsuite, ConnectionOwly connection)
 {
     _hootsuite  = hootsuite;
     _connection = connection;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Teams" /> class.
 /// </summary>
 /// <param name="hootsuite">The hootsuite.</param>
 /// <param name="connection">The connection.</param>
 public Teams(HootsuiteClient hootsuite, Connection connection)
 {
     _hootsuite  = hootsuite;
     _connection = connection;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Organizations" /> class.
 /// </summary>
 /// <param name="hootsuite">The hootsuite.</param>
 /// <param name="connection">The connection.</param>
 public Organizations(HootsuiteClient hootsuite, Connection connection)
 {
     _hootsuite  = hootsuite;
     _connection = connection;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InteractionHistory" /> class.
 /// </summary>
 /// <param name="hootsuite">The hootsuite.</param>
 /// <param name="connection">The connection.</param>
 public InteractionHistory(HootsuiteClient hootsuite, Connection connection)
 {
     _hootsuite  = hootsuite;
     _connection = connection;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SocialProfiles"/> class.
 /// </summary>
 /// <param name="hootsuite">The hootsuite.</param>
 /// <param name="connection">The connection.</param>
 public SocialProfiles(HootsuiteClient hootsuite, Connection connection)
 {
     _hootsuite  = hootsuite;
     _connection = connection;
 }