Đã Hủy

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.

Kỹ năng: Lập trình C#

Xem thêm: facebook fan page code, code extract facebook, u003c, facebook placepagestats, uinumbergiant facebook, string match, regex is, regex c, programming expression, pbs programming, page split, match string, match page, expression programming, div programming, string programming, span programming, sharp object, programming string, programming regex, code line, placepagestats, u003cdiv, css expression

Về Bên Thuê:
( 17 nhận xét ) Madrid, Spain

Mã Dự Án: #1018000

11 freelancer đang chào giá trung bình $77 cho công việc này

creatorul

Professional solutions

$150 USD trong 1 ngày
(17 Đánh Giá)
6.6
panfreelancer

Please check PM. Thanks

$30 USD trong 1 ngày
(5 Đánh Giá)
3.7
mastersoft1

please check your PMB

$100 USD trong 1 ngày
(6 Đánh Giá)
3.4
pro100sanya

please check pm

$250 USD trong 1 ngày
(1 Đánh Giá)
2.6
greggfletcher

Hi, please check your PMB. Thank You.

$30 USD trong 0 ngày
(3 Đánh Giá)
2.2
uniquecode1

Please see my PM.

$100 USD trong 5 ngày
(0 Đánh Giá)
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 trong 1 ngày
(0 Đánh Giá)
0.0
SandyTheTechie

Please check PMB

$50 USD trong 1 ngày
(0 Đánh Giá)
0.0
HDDevelopment

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

$50 USD trong 0 ngày
(0 Đánh Giá)
0.0
RossKim

***Kindly check PM please

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0
Xcoder88

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

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0