Ejemplo n.º 1
0
 public FBDataService(UrlGenerator urlGenerator, AuthService authService, JsonHelper jsonHelper, HttpClient httpClient)
 {
     this.urlGenerator = urlGenerator;
     this.authService = authService;
     this.jsonHelper = jsonHelper;
     this.httpClient = httpClient;
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 public AuthService(UrlGenerator urlGenerator)
 {
     this.urlGenerator = urlGenerator;
 }
Ejemplo n.º 4
0
 public AuthService(UrlGenerator urlGenerator)
 {
     this.urlGenerator = urlGenerator;
 }