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

Rename user_ids to user_id in Account#timeline #176

Conversation

esakai
Copy link
Contributor

@esakai esakai commented May 14, 2018

Hi there,

According to the official document, it seems that the parameter name should be user_id instead of user_ids at the endpoint GET accounts/:account_id/scoped_timeline. I have attached the fix for this.

https://developer.twitter.com/en/docs/ads/creatives/api-reference/tweets.html

I would be great if you could review and merge my commit.

@CLAassistant
Copy link

CLAassistant commented May 14, 2018

CLA assistant check
All committers have signed the CLA.

@smaeda-ks smaeda-ks self-requested a review May 25, 2019 10:27
@smaeda-ks smaeda-ks added the task label May 25, 2019
Copy link
Collaborator

@smaeda-ks smaeda-ks left a comment

Choose a reason for hiding this comment

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

@esakai Thanks for your contribution! 💯
I've left some comments so could you please take a look and update this PR?

lib/twitter-ads/account.rb Outdated Show resolved Hide resolved
lib/twitter-ads/account.rb Outdated Show resolved Hide resolved
lib/twitter-ads/account.rb Outdated Show resolved Hide resolved
esakai and others added 19 commits June 18, 2019 17:30
* added support for lookalike expansion

* update references to country_code

* removed videos endpoint

* updated spec files

* removed additional references to videos endpoint; updated the spec as well
* update twitter-ads version to 4.0.1

* update rubocop.yml and tailored_audience.rb
* Added support for MEDIA_CREATIVE stats

* added support for card_uris

* updated example for v5

* updated TC line_item_id to line_item_ids

* added support for with_draft

* remove preview_url from all cards endpoints
* Add a comment to TailoredAudience.users

* Rename create_instance to create

The current create method will no longer be supported
as of v4.

* Delele unused methods
* Remove CI guards

* Start upgrade to min 2.3. Rubocop auto fixes

* Disable and update a handful of Rubocop warnings

Disabled Linting warnings on using Void and URI:Escape

* Update copyright

* Test ruby 2.3+ on Travis CI

* Add Ruby 2.6 to build matrix and correct copyright lint

* Minor fix to copyright

* Add rubocop as separate step to display errors

* Make rubocop verbose to help debugging

* Remove erroneous newline

* Fix merge conflicts

* Revert "Remove CI guards"

This reverts commit 85db938.

* Update supported Ruby versions and bump license year

* Update LICENSE

* Fix merge conflicts
* Add ActiveEntities support

* Update style
* Fix promoted_tweet example

* Fix TypeError

> no implicit conversion of nil into Hash (TypeError)

when with_deleted is false
* Update .travis.yml

* Update README

We no longer test JRuby since xdevplatform#133

* Set min version to 2.4

* Allow bundler 2

* Update .rubocop.yml
@smaeda-ks smaeda-ks force-pushed the rename-user_ids-to-user_id-in-account-timeline branch from b46c150 to 96fa7b6 Compare June 18, 2019 08:31
@smaeda-ks
Copy link
Collaborator

Hmm, hound's status reporting seems stuck somehow. I'll try close -> re-open this PR to see if that works.

@smaeda-ks smaeda-ks closed this Jun 18, 2019
@smaeda-ks smaeda-ks reopened this Jun 18, 2019
@smaeda-ks smaeda-ks added the bug label Jun 18, 2019
@smaeda-ks smaeda-ks merged commit f8d3cf9 into xdevplatform:master Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants