Exemple #1
0
        public ActionResult FacebookLike(string fbid, string profileid, string msgid)
        {
            Api.Groups.Groups ApiobjGroups                 = new Api.Groups.Groups();
            Domain.Socioboard.Domain.Groups objGroups      = (Domain.Socioboard.Domain.Groups)(new JavaScriptSerializer().Deserialize(ApiobjGroups.GetGroupDetailsByGroupId(Session["group"].ToString()), typeof(Domain.Socioboard.Domain.Groups)));
            Api.Facebook.Facebook           ApiobjFacebook = new Api.Facebook.Facebook();
            string ret = ApiobjFacebook.FacebookLike(msgid, profileid, fbid, objGroups.UserId.ToString());

            return(Content(ret));
        }
 public ActionResult FacebookLike(string fbid, string profileid, string msgid)
 {
     Api.Groups.Groups ApiobjGroups = new Api.Groups.Groups();
     Domain.Socioboard.Domain.Groups objGroups = (Domain.Socioboard.Domain.Groups)(new JavaScriptSerializer().Deserialize(ApiobjGroups.GetGroupDetailsByGroupId(Session["group"].ToString()), typeof(Domain.Socioboard.Domain.Groups)));
     Api.Facebook.Facebook ApiobjFacebook = new Api.Facebook.Facebook();
     string ret = ApiobjFacebook.FacebookLike(msgid, profileid, fbid, objGroups.UserId.ToString());
     return Content(ret);
 }