Use Facebook's API (which is way beyond the scope of this mailing
list)

On Nov 21, 1:43 am, saranpol <[EMAIL PROTECTED]> wrote:
> I want to use urlfetch to get the search result of facebook
>
> I want to search people by email in facebook (http://www.facebook.com/
> [EMAIL PROTECTED])
>
> and facebook allow only registered user to get the result
>
> I try to send cookie like this
>
>        result = urlfetch.fetch(
>            url='http://www.facebook.com/s.php?q='+q,
>            method=urlfetch.GET,
>            headers={
>                'User-Agent' : 'Mozilla/5.0 (Macintosh; U; Intel Mac OS
> X; en-US; rv: 1.8.1) Gecko/20061010 Firefox/2.0'
>                ,'Cookie': 'sid=2;, h_user=b3fb2236fb02;,
> c_user=522572836;, xs=676c545322222a463bb2edd60134cf3;, login_x=a
> %2A2%3A%2Bs%2A5%3A%22email%22%3Bs%3A19%3A%22saraol%40gmail.com%22%2Bs
> %3C19%3A%22remember_me_default%32%3Bb%3A2%3B%7D;,
> datr=d1a9f1a263d1b403c323e55f1cfd99359121146bb45537da558be22551b323;'
>                }
>            )
>
> but it doesn't work
>
> Please help...
>
> Thank you very much..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to