Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tumblr posting problem #20

Open
dedurus opened this issue Jan 24, 2013 · 0 comments
Open

Tumblr posting problem #20

dedurus opened this issue Jan 24, 2013 · 0 comments

Comments

@dedurus
Copy link

dedurus commented Jan 24, 2013

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?

@dedurus dedurus closed this as completed Jan 31, 2013
@dedurus dedurus reopened this Jan 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant