Idea needs help

Discussion in 'PHP' started by anthonywebs, Jul 30, 2009.

  1. #1
    k so im going to make a twitter script but its gonna need a little help so can you give me links to php twitter tuts or tell me some things about twitter + php i know php but not twitter + php api and paypal + php ipn

    heres what i am starting to work on
    ok user signs up and info goes in database and timestamp. They auto follow everyone in the database. Auto tweets go out about my web. They auto follow anyone that signs up and the person that signs up also auto follows them. After 7 days they get an email saying that they have to pay $x for this month or else they stop getting fllowers. So they pay paypal and the ipn finds and the amount of seconds they have left in the database goes to 30 days. They can also set an hourly cap on the amount of follows they follow. Don't steel my idea! just help me.
     
    anthonywebs, Jul 30, 2009 IP
  2. thedanielsolution

    thedanielsolution Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    0
    #2
    Simple enough by concept. What kind of help are you looking for with it? I have built many things attached to twitter and that automate twitter followers/post etc.

    Basically you would just need to call :::

    http://$username:$password@twitter.com/friendships/create/$usertofollow.xml?follow=true
    PHP:
    You would first need to check the relationship does not already exist ::

    http://$username:$password@twitter.com/friendships/exists.xml?user_a=$username&user_b=$usertofollow
    PHP:
    Use simplexml_load_file to do this...

    Glad to help, if you let me know in greater detail what you are looking for.
     
    Last edited: Jul 30, 2009
    thedanielsolution, Jul 30, 2009 IP
  3. anthonywebs

    anthonywebs Banned

    Messages:
    657
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oh thank you that is a big help by itself but I also need help with the paypal ipn
     
    anthonywebs, Jul 30, 2009 IP
  4. thedanielsolution

    thedanielsolution Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    0
    #4
    That would be just a little too detailed a php script to paste here :)

    Drop me a line and I can give you a hand putting it together.
     
    thedanielsolution, Jul 31, 2009 IP
  5. anthonywebs

    anthonywebs Banned

    Messages:
    657
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I just need like a link to a tutorial
     
    anthonywebs, Jul 31, 2009 IP
  6. thedanielsolution

    thedanielsolution Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    0
    #6
    I find the sample code a great starting point.

    cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_code
     
    thedanielsolution, Jul 31, 2009 IP