Can somebody help me to access facebook SCIM api in asp.net application for custom integration -


public string getuserdata(string access_token, string scimurl) {     string endpoint= scimurl;     string userdatainjson = getpageddata(access_token, endpoint);     return userdatainjson; }private string buildheader(string access_token) {     return "authorization:bearer " + access_token; }public string getpageddata(string access_token, string endpoint) {     httpwebrequest http = (httpwebrequest)httpwebrequest.create(endpoint);     string header = buildheader(access_token);     http.headers.add(header);     httpwebresponse response = (httpwebresponse)http.getresponse();     string responsejson = "";     using (streamreader sr = new streamreader(response.getresponsestream()))     {         responsejson = sr.readtoend();     }     return responsejson; } 

this code using access facebook scim api user data facebook workplace, not able access scim api


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -