tumblr / tumblr.php

Tumblr API v2 PHP Client
Apache License 2.0
407 stars 115 forks source link

Reblog post Unauthorized ? #95

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hello, i keep getting 401 Unauthorized when i try to reblog a post using

reblogPost method

this is my code

    public function reblog()
    {
        $blogName  = request()->blog_name;
        $id        = request()->blog_id;
        $reblogKey = request()->reblog_key;

        $reblog = $this->client->reblogPost($blogName, $id, $reblogKey);

        return redirect()->back();
    }

i can use other methods like, "follow", "unfollow", "like", "unlike"

but why reblog gives me the respone 401 i dont understand :(

ghost commented 6 years ago

ohhh the $blogName must be my blog name my bad