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

Following list example / demo script #127

Merged
merged 1 commit into from Nov 28, 2023
Merged

Conversation

cyle
Copy link
Member

@cyle cyle commented Nov 27, 2023

This adds a simple example / demo script, and an examples folder, to help describe how to use this library. It's an alternative way of looking at the list of what blogs you follow.

cc @sanmai

@cyle cyle requested a review from sanmai November 27, 2023 21:39
@sanmai sanmai self-assigned this Nov 28, 2023
Copy link
Member

@sanmai sanmai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followed the steps, got a working example!

@@ -3,3 +3,5 @@
/phpunit.xml
/build/
/.*.cache
/.idea/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok you do that.

$token_key = ''; // put your token between the ‘'
$token_secret = ''; // put your token secret between the ‘'

$tumblr = new \Tumblr\API\Client($consumer_key, $consumer_secret, $token_key, $token_secret);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I supposed we need to update our examples to remove any confusion.

https://api.tumblr.com/console/calls/user/info

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think we need to update? i'm not sure i follow

@cyle cyle merged commit 66ecd70 into master Nov 28, 2023
13 checks passed
@cyle cyle deleted the cyle/following-list-example branch November 28, 2023 15:06
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

Successfully merging this pull request may close these issues.

None yet

3 participants