Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all i want to create a proxy web application which helps user to login to face book when it is bloked on his computer.plz help how to get started!!
Posted

1 solution

Hi,

This will be very difficult (probably not working at all). You would need a application which acts as a browser between the users browser and the facebook page, relays all cookies and adapts the headers / HTML content that all links will be rewritten to your server.

I would never try to do this because of the following points:

  • Security risk for the users (someone could get the user/passwords of their FB accounts)
  • Lot of work to do for rewriting each delivered HTML / JS


Anyway, if you still want to try it, you have to concern the following:

  • You have to parse each HTML and JS File and rename the facebook.com domain to your domain (perhaps in the JS the domain will be composed in some way, then it would not be possible for your application)
  • pass all cookies coming from the client to the request you make (you have to re-create each cookie and rename the domains)
  • pass all cookies coming from the request (to facebook.com) to the client (as in the opposite way, you have to re-create the cookies and rename the domains)


Once again, I would not try to do it because it is too much work for the fact that you could end up without having any piece of working code.

Also I don't know if Facebook would be happy to see if someone would open a big security risk by using your proxy.

Just my 5 cents :)

Best regards,
Stops
 
Share this answer
 
Comments
Christoph Keller 16-Jun-11 5:57am    
UPDATE:
If you google this, you will find many sites providing such a proxy.

But BE AWARE that nobody should ever enter any sensitive informations (for example passwords for Social Media sites) on a site (except the original site of course). You never know if such a page is logging / stealing your passwords! So please pay attention!
Sandeep Mewara 16-Jun-11 10:12am    
And my vote of 5!
Christoph Keller 16-Jun-11 10:13am    
Thank you! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900