Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Check for exceeding daily photo limit #185

@RWAP

Description

@RWAP

At the moment, if you use update_with_media you can get an exception thrown by EpiTwitter -

Error in file : EpiTwitter.php on line number 254

Error message :

{"errors":[{"code":191,"message":"User XXX is over daily photo limit"}]}

This is thrown because the response code is 403

It would help if the code could somehow check whether the daily photo limit has been reached before posting a new status - presumably using the header: X-MediaRateLimit-Remaining (https://dev.twitter.com/docs/api/1/post/statuses/update_with_media)

I am just not certain of the best way of implementing this check...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions