Beispiel #1
0
 public virtual String getAccessTokenRequestUrl(FacebookAppInfomation appinfo, string code)
 {
     return("https://graph.facebook.com/oauth/access_token?client_id=" + appinfo.AppId + "&redirect_uri=" + appinfo.RedirectLink + "&client_secret=" + appinfo.AppSecret + "&code=" + code);
 }
Beispiel #2
0
 public virtual String getLoginUrl(FacebookAppInfomation appinfo)
 {
     return("https://m.facebook.com/dialog/oauth?client_id=" + appinfo.AppId + "&redirect_uri=" + appinfo.RedirectLink + "&scope=" + appinfo.RequirePermission + "&display=touch" + "&skip_api_login=1");
 }
Beispiel #3
0
 public virtual String getFeedUrl(FacebookAppInfomation appinfo)
 {
     return("https://m.facebook.com/dialog/feed?app_id=" + appinfo.AppId + "&display=touch&link=https://pine-entertainment.com&redirect_uri=" + appinfo.RedirectLink);
 }
Beispiel #4
0
 public virtual String getAccessTokenExchangeUrl(FacebookAppInfomation appinfo, string accessToken)
 {
     return("https://graph.facebook.com/oauth/access_token?client_id=" + appinfo.AppId + "&client_secret=" + appinfo.AppSecret + "&grant_type=fb_exchange_token&fb_exchange_token=" + Token);
 }