Skip to content

Tumblr posting problem #20

Description

@dedurus

Trying to make the following code to work, and no success so far.
I have the following in Tumblr_Social.php class:

public function tumblr_post()
{

    $blog = eden('tumblr')->debug(true)->blog($tumblr_config['tumblr_key'], $tumblr_config['tumblr_secret'], $tumblr_config['tumblr_access_token'], $tumblr_config['tumblr_secret_token']);
    $post = $blog->postText($tumblr_config['tumblr_url'], 'Poraka', 'Naslov');

    return $post;

}

and then in tumblr_post.php:

<?php
include('Tumblr_Social.php');

 $test = new Tumblr_Social();
 $post = $test->tumblr_post();
?>

I got printed all OAuth params on debug screen, and event log is empty.
I even tried to post with static OAuth params (I've already obtained consumer access/secret and access/secret tokens), and no result as well.
I'm using Eden one file. Is this the problem?
Where did I go wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions