For twitter.

 

Results 1 to 6 of 6
How can I get a php script to run on twitter to get emails from ...
  1. #1
    anonymust's Avatar
    anonymust is offline Newbies
    Join Date
    Apr 2013
    Location
    Twitter
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default For twitter.

    How can I get a php script to run on twitter to get emails from tweets?




  2. #2
    Lyscer's Avatar
    Lyscer is offline Jr. VIP
    Join Date
    Jun 2012
    Posts
    108
    Thanks
    9
    Thanked 40 Times in 23 Posts

    Default Re: For twitter.

    Do you have much scripting experience? There are a handful of pre-built twitter oauth classes out there that will allow you to connect to twitter and then you can connect and see what data you can mine from their APIs

  3. #3
    anonymust's Avatar
    anonymust is offline Newbies
    Join Date
    Apr 2013
    Location
    Twitter
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: For twitter.

    I have some c++ coding skills.

    but not familiar with twitters API at all.

  4. #4
    CodingAndStuff's Avatar
    CodingAndStuff is online now Junior Member
    Join Date
    May 2012
    Location
    In the land of milk and honey
    Posts
    158
    Thanks
    18
    Thanked 58 Times in 37 Posts

    Default Re: For twitter.

    What you'll want to do is look at Twitter's API documentation located here: https://dev.twitter.com/docs/api/1.1


    1. Register an application/dev account
    2. Create a basic application to fetch users and store them in a text file or database (choose whatever is easier for you - I usually opt for databases since it's easier to select EXACTLY what you want)
    3. Scrape a ton of user id's
    4. Scrape their followers/people they follow
    5. Loop through each user ID's feed and try to match them against a "valid email" regular expression to parse out real emails instead of "@username" targets/mentions
    6. Log all the emails to a database
    7. ?????
    8. Profit

  5. #5
    Lyscer's Avatar
    Lyscer is offline Jr. VIP
    Join Date
    Jun 2012
    Posts
    108
    Thanks
    9
    Thanked 40 Times in 23 Posts

    Default Re: For twitter.

    I finally found the name of the twitter class I use. It is open source and was pretty simple to hook up vs writing my own. Here is a link to the project. sourceforge.net/projects/codebird-php.codebird.p/files/

  6. #6
    bartosimpsonio's Avatar
    bartosimpsonio is offline U. B. Rich Soon
    Join Date
    Mar 2013
    Location
    Roaming BHW
    Posts
    3,695
    Thanks
    1,961
    Thanked 2,796 Times in 1,474 Posts

    Default Re: For twitter.

    The Twitter names hold no relation to the email on file. You must get the person to authorize you to mine their email.


Similar Threads

  1. Replies: 34
    Last Post: 10-19-2013, 08:08 PM
  2. Replies: 1
    Last Post: 05-17-2013, 07:38 AM
  3. Replies: 24
    Last Post: 12-24-2012, 08:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




BlackHatWorld on Twitter BlackHatWorld on FaceBook


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98