I need to extract the no of fans someone has in their facebook fans page -
This is code section - commented where it needs ot be fixed
([login to view URL]().Contains("[login to view URL]"))
{
string page = [login to view URL];
// this next line needs to be fixed
Match mch = [login to view URL](page, [login to view URL]("fwb\\">") + "\u003c", [login to view URL]);
int fans = [login to view URL]([login to view URL]([login to view URL][1].Value, ",", ""));
//string fans = ([login to view URL]('(')[1]);
//up to here
if ([login to view URL]() != [login to view URL]())
{
[login to view URL](afbcb, new object[] { [login to view URL](), fans });
fb_names[[login to view URL](wb)] = true;
}
return;
This is from a facebook fan page -
<script>[login to view URL]({"phase":2,"id":"pagelet_fan_count","css":["yGs8h","Hotuo"],"content":{"pagelet_fan_count":"\u003cdiv class=\"uiHeader uiHeaderTopBorder uiHeaderNav uiHeaderNavEmpty\" role=\"separator\">\u003cdiv class=\"clearfix uiHeaderTop\">\u003cdiv>\u003ch4 class=\"uiHeaderTitle\">\u003c\/h4>\u003c\/div>\u003c\/div>\u003c\/div>\u003cdiv class=\"pbs placePageStats\">\u003cdiv>\u003cspan class=\"uiNumberGiant fsxxl fwb\">38\u003c\/span>\u003c\/div>people like this\u003c\/div>"}});</script>
The figure 38 is what I would be scraping if it was on this page - I have tried various things in the Regex expression but am not getting this right.
Should be simple for you to fix.
hello sir
We are delhi based software development firm. expertise in the field of Dotnet & php .
we are ready for this project.
Please give us a chance to serve you. Thanks
ispl