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

PHP tweetlater type script

Discussion in 'Social Networking Sites' started by popzzz, Jun 30, 2009.

  1. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    .

    Does anyone know of a PHP based script that is similar to tweetlater services to run on servers?

    Would be killer if it used the browser object to avoid the twitter API limits.

    Can anyone write one?

    Thanx .....

    If a post HELPS you don't be afraid to click the THANKS button .....

    .​
     
  2. spla

    spla Junior Member

    Joined:
    Jan 28, 2008
    Messages:
    139
    Likes Received:
    20
    here you go
     
    • Thanks Thanks x 1
  3. santp

    santp Newbie

    Joined:
    Jun 28, 2009
    Messages:
    17
    Likes Received:
    9
    i really like the bulk upload feature of theirs..
     
  4. TermsB

    TermsB Senior Member

    Joined:
    May 19, 2009
    Messages:
    1,076
    Likes Received:
    734
    Location:
    USA
    You still have to get around the API limits. ;)
     
    • Thanks Thanks x 1
  5. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    .

    Thanks adamlm! (and spla)

    This is on the right track!

    So is there anyway can get this to use the browser object so it doesn't hit the API and accompanying limits?

    What if we converted it to PHP could we use the brrowser agent?

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .
     
    Last edited: Jul 3, 2009
  6. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    Ok here is the guide posted by adamlm! (thanks again)
     
    • Thanks Thanks x 1
  7. pyronaut

    pyronaut Executive VIP

    Joined:
    Dec 9, 2008
    Messages:
    1,229
    Likes Received:
    1,422
    popzz. I will tell you that just hope you arent on hostgator etc. Or somewhere where everyone is crammed on to servers like sardines. Because if others are interacting with twitter it also obviously adds to your API limit aswell.
     
    • Thanks Thanks x 1
  8. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    Thanks!

    My understanding (which may be wrong) of the API is that it is per account so if that is correct it should NOT matter as long as they are NOT using your account. The only counts towards the API are what actually passes through your OWN account.

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .
     
  9. pyronaut

    pyronaut Executive VIP

    Joined:
    Dec 9, 2008
    Messages:
    1,229
    Likes Received:
    1,422
    No. There is a limit per account, but those are say friend additions per day, updates per day etc. The actual API limit is based on IP.
     
    • Thanks Thanks x 1
  10. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    .

    Hmmmmmmmm ..... just tried it and my tweets show "from API"
    (OHHHhhhhh NOOOOoooooooooooooo)

    Now what?

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .
     
  11. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    Quote from twitter Rate Limiting page:
    I don't have time right this second to really get into this but a brief scan looks like this would be "Authenticated API calls" as shown above that would apply to the users hourly limit of 150 would it not? (wonder why tweetdeck is 100 per hour?)

    What you are referring to I believe is the "UNauthenticated API calls" for the entire ip address.

    This was why I mentioned the browser object which would get around the limit altogether by using the post instead of get commands ..... (I think)

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .

     
    Last edited: Jul 3, 2009
  12. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    Hmmmmmmmm ..... I don't know about the random feature .....

    If we take the array_rand OUT and just make it array will that remove the random factor where it will simply post each tweet in order?

    What happens when it reaches the end ..... does it start over or what?

    Anyone know? I just don't have time to tinker just now .....

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .
     
  13. pyronaut

    pyronaut Executive VIP

    Joined:
    Dec 9, 2008
    Messages:
    1,229
    Likes Received:
    1,422
    Woops. Correct you are. Sorry :). I get confused as to how they count it. To be honest they will just block you in any case. If you look at my friend adder. Add a 500 friends and check API limits. Nothing has changed. Twitter hasnt counted anything. They will just "limit" you when they want to.
     
  14. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    The above does NOT work as I described.

    This script as-is will NOT work for me anyway ..... I need to post one tweet then post next tweet, etc, etc sequentially in order (1,2,3,4,5) right down the line one after the other straight through to the end then start the list over again .....

    This posts the tweets randomly and even beyond that it repeated a tweet in the first THREE posts! YIKES!

    Gonna see if I can modify it but in the meantime does anyone know how or have a clue?

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .
     
    Last edited: Jul 3, 2009
  15. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    UPDATE: Yesterday twitter increased the hourly limit to 150! YES!

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    . ​
     
  16. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    How do you check your API limits anyway?

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .​
     
  17. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    .

    WOW!

    Of all the scripts online I cannot find one that is NOT random! Looks like it would at least be an option or something!

    Anyone?

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .
     
  18. pyronaut

    pyronaut Executive VIP

    Joined:
    Dec 9, 2008
    Messages:
    1,229
    Likes Received:
    1,422
    Through another API call.
     
    • Thanks Thanks x 1
  19. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    How do you get it to return the count and/or limit?

    HTH

    If a post HELPS you don't be afraid to click the THANKS button .....

    .



     
  20. pyronaut

    pyronaut Executive VIP

    Joined:
    Dec 9, 2008
    Messages:
    1,229
    Likes Received:
    1,422
    apiwiki.twitter.com

    Read it.
     
    • Thanks Thanks x 1