Annulé

c# code to extract from facebook fans page

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

([url removed, login to view]().Contains("[url removed, login to view]"))

{

string page = [url removed, login to view];

// this next line needs to be fixed

Match mch = [url removed, login to view](page, [url removed, login to view]("fwb\\">") + "\u003c", [url removed, login to view]);

int fans = [url removed, login to view]([url removed, login to view]([url removed, login to view][1].Value, ",", ""));

//string fans = ([url removed, login to view]('(')[1]);

//up to here

if ([url removed, login to view]() != [url removed, login to view]())

{

[url removed, login to view](afbcb, new object[] { [url removed, login to view](), fans });

fb_names[[url removed, login to view](wb)] = true;

}

return;

This is from a facebook fan page -

<script>[url removed, login to view]({"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.

Compétences : Programmation C#

Voir plus : facebook fan page code, code extract facebook, u003c, facebook placepagestats, uinumbergiant facebook, what is a string in programming, string programming, string match, string c programming, regex is, regex in c, regex c, programming expression, pbs programming, parse programming, page split, match string, match page, i need a facebook id, id to code, expression in c programming, div programming, c string programming, c span programming, c sharp object

Concernant l'employeur :
( 17 commentaires ) Madrid, Spain

N° du projet : #1018000

11 freelance ont fait une offre moyenne de 77 $ pour ce travail

creatorul

Professional solutions

150 $ USD en 1 jour
(17 Commentaires)
6.6
panfreelancer

Please check PM. Thanks

30 $ USD en 1 jour
(5 Commentaires)
3.7
mastersoft1

please check your PMB

100 $ USD en 1 jour
(6 Commentaires)
3.4
pro100sanya

please check pm

250 $ USD en 1 jour
(1 Commentaire)
2.6
greggfletcher

Hi, please check your PMB. Thank You.

30 $ USD en 0 jours
(3 Commentaires)
2.2
uniquecode1

Please see my PM.

100 $ USD en 5 jours
(0 Commentaires)
0.0
indosoftindia

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

30 $ USD en 1 jour
(0 Commentaires)
0.0
SandyTheTechie

Please check PMB

50 $ USD en 1 jour
(0 Commentaires)
0.0
HDDevelopment

Dear , Code for get Fan count is ready in javascript code

50 $ USD en 0 jours
(0 Commentaires)
0.0
RossKim

***Kindly check PM please

30 $ USD en 1 jour
(0 Commentaires)
0.0
Xcoder88

Hi, I think i have corrected the code. Freeze me to get it done. Thanx

30 $ USD en 0 jours
(0 Commentaires)
0.0