Ejemplo n.º 1
0
        private int CheckSentFriendCount(ref GlobusHttpHelper HttpHelper, ref string UsreId, ref string pageSourceFriendRequests, ref List<string> listFriend_Requests, ref List<string> listFriend_Suggestions)
        {
            listFriend_Requests = new List<string>();

            try
            {
                pageSourceFriendRequests = HttpHelper.getHtmlfromUrl(new Uri(FBGlobals.Instance.urlGetSentReqsurlFriendManager));

                string ProFilePost = string.Empty;

                listFriend_Requests = new List<string>();

                listFriend_Suggestions = new List<string>();

                listFriend_Requests = HttpHelper.ExtractRequestSendFriendIDs_URLSpecific(ref HttpHelper, ref UsreId, FBGlobals.Instance.urlGetSentReqsurlFriendManager, ref listFriend_Suggestions);
            }
            catch (Exception ex)
            {
                GlobusLogHelper.log.Error("Error : " + ex.StackTrace);
            }

            return listFriend_Requests.Count;
        }