Example #1
0
 public FBDataService(UrlGenerator urlGenerator, AuthService authService, JsonHelper jsonHelper, HttpClient httpClient)
 {
     this.urlGenerator = urlGenerator;
     this.authService = authService;
     this.jsonHelper = jsonHelper;
     this.httpClient = httpClient;
 }
Example #2
0
 public void ProfileUrlValid()
 {
     UrlGenerator urlGenerator = new UrlGenerator();
     string username = "******";
     string access_token = "access_token=1234";
     string resultProfileUrl = "https://graph.facebook.com/dushyant?access_token=1234&fields=id,name,relationship_status,friends.fields(relationship_status,gender,name)";
     Assert.AreEqual(urlGenerator.ConstructProfileUrl(username, access_token) , resultProfileUrl);
 }
Example #3
0
 public AuthService(UrlGenerator urlGenerator)
 {
     this.urlGenerator = urlGenerator;
 }
Example #4
0
 public AuthService(UrlGenerator urlGenerator)
 {
     this.urlGenerator = urlGenerator;
 }