1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Gmail login use curl/php

Discussion in 'PHP & Perl' started by dor@tehexploa, Jun 25, 2009.

  1. dor@tehexploa

    dor@tehexploa Registered Member

    Joined:
    Apr 25, 2009
    Messages:
    95
    Likes Received:
    25
    Was hoping someone out there might have a script already built that does just this. I'd like to have my craigslist script automatically login to each gmail account and publish each ad..
    I attempted libgmailer.php , but for some reason it will log in but the snapshot's array returns empty.
     
  2. dor@tehexploa

    dor@tehexploa Registered Member

    Joined:
    Apr 25, 2009
    Messages:
    95
    Likes Received:
    25
    Ok to clarify..

    I DON'T want a PHP script that logs in to Google AND publishes Craigslist posts..

    I want a script that logs in to Gmail..
    from there I can make my own code to parse out the emails I need..

    I think this might be a lost cause, but I thought I should try just one more time. :)
     
  3. underplay

    underplay Newbie

    Joined:
    Jan 13, 2009
    Messages:
    27
    Likes Received:
    1
    I would like to know how far you get, from my understanding google has several protection mechanisms in place including AJAX and javascript that needs to be parsed.
     
  4. dor@tehexploa

    dor@tehexploa Registered Member

    Joined:
    Apr 25, 2009
    Messages:
    95
    Likes Received:
    25
    Hmm didn't know they were trying to prevent this kind of thing.
    I hafta go to work for a couple of hours, but when I get back I'm going to try and tackle this problem and see how far I can get..
    I was using older classes I found from the web before, and have a basic outline of what I think will work.
    *fingers crossed*
     
  5. xxMP3xx

    xxMP3xx Regular Member

    Joined:
    May 19, 2009
    Messages:
    368
    Likes Received:
    46
    Location:
    <?php return 'CPU'; ?>
    Well I have code and will paste it here, no need of ajax because there html version is still there.

    Thanks :)
     
  6. dor@tehexploa

    dor@tehexploa Registered Member

    Joined:
    Apr 25, 2009
    Messages:
    95
    Likes Received:
    25
    Admittedly, I was very lazy yesterday, and didn't really do anything to devise my own solution. Nothing has changed today. lol

    I am looking forward to xxMP3xx's code paste. :)
     
  7. khan0

    khan0 Registered Member

    Joined:
    Jul 16, 2008
    Messages:
    75
    Likes Received:
    17
    Location:
    Toronto