Example #1
0
 private void CreateEndpointsObjects()
 {
     this.CommentEndpoints       = new CommentEndpoints(this.ClientSecret, this.EnforceSignedRequests);
     this.LocationEndpoints      = new LocationEndpoints(this.ClientSecret, this.EnforceSignedRequests);
     this.LikeEndpoints          = new LikeEndpoints(this.ClientSecret, this.EnforceSignedRequests);
     this.MediaEndpoints         = new MediaEndpoints(this.ClientSecret, this.EnforceSignedRequests);
     this.UserEndpoints          = new UserEndpoints(this.ClientSecret, this.EnforceSignedRequests);
     this.TagEndpoints           = new TagEndpoints(this.ClientSecret, this.EnforceSignedRequests);
     this.RelationshipEndpoints  = new RelationshipEndpoints(this.ClientSecret, this.EnforceSignedRequests);
     this.SubscriptionsEndpoints = new SubscriptionsEndpoints(this.ClientId, this.ClientSecret);
 }
 private void CreateEndpointsObjects()
 {
     this.CommentEndpoints       = new CommentEndpoints(this.AccessToken);
     this.GeographyEndpoints     = new GeographyEndpoints(this.ClientId);
     this.LocationEndpoints      = new LocationEndpoints(this.AccessToken);
     this.LikeEndpoints          = new LikeEndpoints(this.AccessToken);
     this.MediaEndpoints         = new MediaEndpoints(this.AccessToken);
     this.UserEndpoints          = new UserEndpoints(this.ClientId, this.AccessToken);
     this.TagEndpoints           = new TagEndpoints(this.AccessToken);
     this.RelationshipEndpoints  = new RelationshipEndpoints(this.AccessToken);
     this.SubscriptionsEndpoints = new SubscriptionsEndpoints(this.ClientId, this.ClientSecret);
 }