Logging in to eBay "in code"

  • Thread starter Thread starter Sammy
  • Start date Start date
S

Sammy

I have found it impossible to achieve this step. I tried HttpWebRequest with
CookieContainer instantiated. It always returns an eBay page titled "Cookie
Error" that says my browser does not accept cookies. I did set the UserAgent
correctly to replicate Internet Explorer (which works perfectly well by the
way).

Any solutions please? I'm desparate!
 
the form page from ebay may already have the cookie in it. Therefore,
simply posting to the form response address without already setting the
cookie will not help.

Post a web request to www.ebay.com. Get any redirects and cookies. Then
visit the login page. get any redirects and cookies. Then post your login
response with all cookies you've collected.

--- Nick
 
Back
Top