late-sdk 0.0.777 → 0.0.778
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/CommentsApi.md +4 -4
- data/lib/zernio-sdk/api/comments_api.rb +8 -8
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +46 -8
- data/spec/api/comments_api_spec.rb +4 -4
- data/zernio-sdk-0.0.778.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.777.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56db0fb238364eef6bb11a8e8957ac348cefba523d467a1f38f227c2ea9e0cc7
|
|
4
|
+
data.tar.gz: dff9cb9ad41bb533d40ceb3b78152997e286fcbcbb3e6ccb455bf529f1c445fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d477c5aa50c5c2b20bc66b188dad27fddfc9370d1b9748f5f229e6832318f3832db09acf5871bf79183a9e9da870fce85db1ea08d5746bcfd4327957e305f372
|
|
7
|
+
data.tar.gz: 6af532b0f874e245d0cd86b3591c088c2b4df31e21ed4edb2de2021206cc690ef57bdf1b559611d1fedee7c65f5e1d5fc767b6ccb602b82a7f92c33e17b67951
|
data/docs/CommentsApi.md
CHANGED
|
@@ -325,7 +325,7 @@ end
|
|
|
325
325
|
|
|
326
326
|
Like comment
|
|
327
327
|
|
|
328
|
-
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`.
|
|
328
|
+
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn, and Instagram in limited release (see below). For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`. Instagram is in LIMITED RELEASE and not generally available: the call needs `instagram_manage_engagement`, which Meta has so far granted this app only under Standard Access, so it works for app admins, developers and testers of our Meta app and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account. That restriction lifts when Meta App Review grants Advanced Access; the constraints below apply once it does. Instagram covers comments and replies on feed posts, reels and carousels. Only an account connected through Facebook Login can be granted `instagram_manage_engagement`: an Instagram Login connection returns a 400 with code `instagram_likes_require_facebook_login`, and an account whose token predates the permission returns a 403 with code `reconnect_required`. Content from private accounts cannot be liked. Instagram also enforces a burst limit of 50 like or unlike calls per 5 seconds per Instagram account, and exceeding it locks that account out of the like API for an hour, so pace bulk loops.
|
|
329
329
|
|
|
330
330
|
### Examples
|
|
331
331
|
|
|
@@ -398,7 +398,7 @@ end
|
|
|
398
398
|
|
|
399
399
|
Like post
|
|
400
400
|
|
|
401
|
-
Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky
|
|
401
|
+
Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release (see below). Threads, TikTok and Pinterest expose no like endpoint in their APIs and return 400. Reddit returns 400 too, pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote, downvote and clear on both posts and comments. The account does not have to be the one that published the post, which is what makes executive engagement possible: pass an exec's `accountId` and the brand post's ID. `postId` accepts either a Zernio post ID or the platform's native post ID. A Zernio post ID resolves to the entry for `accountId`, falling back to the post's single entry on the same platform (two entries on that platform is a 400, so pass the native ID). LinkedIn requires the `w_member_social_feed` / `w_organization_social_feed` scopes, which are not retroactive: accounts connected before those were requested get a 403 with code `linkedin_reconnect_required` until the user reconnects the account. YouTube spends 50 quota units per call. Instagram is in LIMITED RELEASE and not generally available: the call needs `instagram_manage_engagement`, which Meta has so far granted this app only under Standard Access, so it works for app admins, developers and testers of our Meta app and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account. That restriction lifts when Meta App Review grants Advanced Access; the constraints below apply once it does. Instagram covers feed images, reels and carousels (stories and private-account media are not likeable). Only an account connected through Facebook Login can be granted `instagram_manage_engagement`: an Instagram Login connection returns a 400 with code `instagram_likes_require_facebook_login`, and an account whose token predates the permission returns a 403 with code `reconnect_required`. Instagram also enforces a burst limit of 50 like or unlike calls per 5 seconds per Instagram account, and exceeding it locks that account out of the like API for an hour, so pace bulk loops.
|
|
402
402
|
|
|
403
403
|
### Examples
|
|
404
404
|
|
|
@@ -846,7 +846,7 @@ end
|
|
|
846
846
|
|
|
847
847
|
Unlike comment
|
|
848
848
|
|
|
849
|
-
Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the likeUri query parameter is required.
|
|
849
|
+
Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn, and Instagram in limited release. For Bluesky, the likeUri query parameter is required. Instagram has the same limited release, Facebook Login, `instagram_manage_engagement` and burst-limit constraints as liking.
|
|
850
850
|
|
|
851
851
|
### Examples
|
|
852
852
|
|
|
@@ -923,7 +923,7 @@ end
|
|
|
923
923
|
|
|
924
924
|
Unlike post
|
|
925
925
|
|
|
926
|
-
Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky. On YouTube this clears the rating. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
926
|
+
Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release. On YouTube this clears the rating. Instagram has the same limited release, Facebook Login, `instagram_manage_engagement` and burst-limit constraints as liking. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
927
927
|
|
|
928
928
|
### Examples
|
|
929
929
|
|
|
@@ -347,7 +347,7 @@ module Zernio
|
|
|
347
347
|
end
|
|
348
348
|
|
|
349
349
|
# Like comment
|
|
350
|
-
# Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`.
|
|
350
|
+
# Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn, and Instagram in limited release (see below). For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`. Instagram is in LIMITED RELEASE and not generally available: the call needs `instagram_manage_engagement`, which Meta has so far granted this app only under Standard Access, so it works for app admins, developers and testers of our Meta app and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account. That restriction lifts when Meta App Review grants Advanced Access; the constraints below apply once it does. Instagram covers comments and replies on feed posts, reels and carousels. Only an account connected through Facebook Login can be granted `instagram_manage_engagement`: an Instagram Login connection returns a 400 with code `instagram_likes_require_facebook_login`, and an account whose token predates the permission returns a 403 with code `reconnect_required`. Content from private accounts cannot be liked. Instagram also enforces a burst limit of 50 like or unlike calls per 5 seconds per Instagram account, and exceeding it locks that account out of the like API for an hour, so pace bulk loops.
|
|
351
351
|
# @param post_id [String]
|
|
352
352
|
# @param comment_id [String]
|
|
353
353
|
# @param like_inbox_comment_request [LikeInboxCommentRequest]
|
|
@@ -359,7 +359,7 @@ module Zernio
|
|
|
359
359
|
end
|
|
360
360
|
|
|
361
361
|
# Like comment
|
|
362
|
-
# Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`.
|
|
362
|
+
# Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn, and Instagram in limited release (see below). For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`. Instagram is in LIMITED RELEASE and not generally available: the call needs `instagram_manage_engagement`, which Meta has so far granted this app only under Standard Access, so it works for app admins, developers and testers of our Meta app and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account. That restriction lifts when Meta App Review grants Advanced Access; the constraints below apply once it does. Instagram covers comments and replies on feed posts, reels and carousels. Only an account connected through Facebook Login can be granted `instagram_manage_engagement`: an Instagram Login connection returns a 400 with code `instagram_likes_require_facebook_login`, and an account whose token predates the permission returns a 403 with code `reconnect_required`. Content from private accounts cannot be liked. Instagram also enforces a burst limit of 50 like or unlike calls per 5 seconds per Instagram account, and exceeding it locks that account out of the like API for an hour, so pace bulk loops.
|
|
363
363
|
# @param post_id [String]
|
|
364
364
|
# @param comment_id [String]
|
|
365
365
|
# @param like_inbox_comment_request [LikeInboxCommentRequest]
|
|
@@ -427,7 +427,7 @@ module Zernio
|
|
|
427
427
|
end
|
|
428
428
|
|
|
429
429
|
# Like post
|
|
430
|
-
# Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky
|
|
430
|
+
# Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release (see below). Threads, TikTok and Pinterest expose no like endpoint in their APIs and return 400. Reddit returns 400 too, pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote, downvote and clear on both posts and comments. The account does not have to be the one that published the post, which is what makes executive engagement possible: pass an exec's `accountId` and the brand post's ID. `postId` accepts either a Zernio post ID or the platform's native post ID. A Zernio post ID resolves to the entry for `accountId`, falling back to the post's single entry on the same platform (two entries on that platform is a 400, so pass the native ID). LinkedIn requires the `w_member_social_feed` / `w_organization_social_feed` scopes, which are not retroactive: accounts connected before those were requested get a 403 with code `linkedin_reconnect_required` until the user reconnects the account. YouTube spends 50 quota units per call. Instagram is in LIMITED RELEASE and not generally available: the call needs `instagram_manage_engagement`, which Meta has so far granted this app only under Standard Access, so it works for app admins, developers and testers of our Meta app and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account. That restriction lifts when Meta App Review grants Advanced Access; the constraints below apply once it does. Instagram covers feed images, reels and carousels (stories and private-account media are not likeable). Only an account connected through Facebook Login can be granted `instagram_manage_engagement`: an Instagram Login connection returns a 400 with code `instagram_likes_require_facebook_login`, and an account whose token predates the permission returns a 403 with code `reconnect_required`. Instagram also enforces a burst limit of 50 like or unlike calls per 5 seconds per Instagram account, and exceeding it locks that account out of the like API for an hour, so pace bulk loops.
|
|
431
431
|
# @param post_id [String] Zernio post ID or the platform's native post ID
|
|
432
432
|
# @param like_post_request [LikePostRequest]
|
|
433
433
|
# @param [Hash] opts the optional parameters
|
|
@@ -438,7 +438,7 @@ module Zernio
|
|
|
438
438
|
end
|
|
439
439
|
|
|
440
440
|
# Like post
|
|
441
|
-
# Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky
|
|
441
|
+
# Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release (see below). Threads, TikTok and Pinterest expose no like endpoint in their APIs and return 400. Reddit returns 400 too, pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote, downvote and clear on both posts and comments. The account does not have to be the one that published the post, which is what makes executive engagement possible: pass an exec's `accountId` and the brand post's ID. `postId` accepts either a Zernio post ID or the platform's native post ID. A Zernio post ID resolves to the entry for `accountId`, falling back to the post's single entry on the same platform (two entries on that platform is a 400, so pass the native ID). LinkedIn requires the `w_member_social_feed` / `w_organization_social_feed` scopes, which are not retroactive: accounts connected before those were requested get a 403 with code `linkedin_reconnect_required` until the user reconnects the account. YouTube spends 50 quota units per call. Instagram is in LIMITED RELEASE and not generally available: the call needs `instagram_manage_engagement`, which Meta has so far granted this app only under Standard Access, so it works for app admins, developers and testers of our Meta app and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account. That restriction lifts when Meta App Review grants Advanced Access; the constraints below apply once it does. Instagram covers feed images, reels and carousels (stories and private-account media are not likeable). Only an account connected through Facebook Login can be granted `instagram_manage_engagement`: an Instagram Login connection returns a 400 with code `instagram_likes_require_facebook_login`, and an account whose token predates the permission returns a 403 with code `reconnect_required`. Instagram also enforces a burst limit of 50 like or unlike calls per 5 seconds per Instagram account, and exceeding it locks that account out of the like API for an hour, so pace bulk loops.
|
|
442
442
|
# @param post_id [String] Zernio post ID or the platform's native post ID
|
|
443
443
|
# @param like_post_request [LikePostRequest]
|
|
444
444
|
# @param [Hash] opts the optional parameters
|
|
@@ -919,7 +919,7 @@ module Zernio
|
|
|
919
919
|
end
|
|
920
920
|
|
|
921
921
|
# Unlike comment
|
|
922
|
-
# Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the likeUri query parameter is required.
|
|
922
|
+
# Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn, and Instagram in limited release. For Bluesky, the likeUri query parameter is required. Instagram has the same limited release, Facebook Login, `instagram_manage_engagement` and burst-limit constraints as liking.
|
|
923
923
|
# @param post_id [String]
|
|
924
924
|
# @param comment_id [String]
|
|
925
925
|
# @param account_id [String]
|
|
@@ -932,7 +932,7 @@ module Zernio
|
|
|
932
932
|
end
|
|
933
933
|
|
|
934
934
|
# Unlike comment
|
|
935
|
-
# Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the likeUri query parameter is required.
|
|
935
|
+
# Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn, and Instagram in limited release. For Bluesky, the likeUri query parameter is required. Instagram has the same limited release, Facebook Login, `instagram_manage_engagement` and burst-limit constraints as liking.
|
|
936
936
|
# @param post_id [String]
|
|
937
937
|
# @param comment_id [String]
|
|
938
938
|
# @param account_id [String]
|
|
@@ -998,7 +998,7 @@ module Zernio
|
|
|
998
998
|
end
|
|
999
999
|
|
|
1000
1000
|
# Unlike post
|
|
1001
|
-
# Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky. On YouTube this clears the rating. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
1001
|
+
# Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release. On YouTube this clears the rating. Instagram has the same limited release, Facebook Login, `instagram_manage_engagement` and burst-limit constraints as liking. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
1002
1002
|
# @param post_id [String] Zernio post ID or the platform's native post ID
|
|
1003
1003
|
# @param account_id [String]
|
|
1004
1004
|
# @param [Hash] opts the optional parameters
|
|
@@ -1010,7 +1010,7 @@ module Zernio
|
|
|
1010
1010
|
end
|
|
1011
1011
|
|
|
1012
1012
|
# Unlike post
|
|
1013
|
-
# Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky. On YouTube this clears the rating. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
1013
|
+
# Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release. On YouTube this clears the rating. Instagram has the same limited release, Facebook Login, `instagram_manage_engagement` and burst-limit constraints as liking. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
1014
1014
|
# @param post_id [String] Zernio post ID or the platform's native post ID
|
|
1015
1015
|
# @param account_id [String]
|
|
1016
1016
|
# @param [Hash] opts the optional parameters
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -28323,11 +28323,28 @@ paths:
|
|
|
28323
28323
|
summary: Like comment
|
|
28324
28324
|
description: |
|
|
28325
28325
|
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X,
|
|
28326
|
-
Bluesky, Reddit, LinkedIn
|
|
28327
|
-
|
|
28328
|
-
|
|
28326
|
+
Bluesky, Reddit, LinkedIn, and Instagram in limited release (see below). For
|
|
28327
|
+
Bluesky, the cid (content identifier) is
|
|
28328
|
+
required in the request body. For LinkedIn, pass the composite comment URN returned
|
|
28329
|
+
by the comments endpoints as commentId; an optional reactionType picks the reaction
|
|
28329
28330
|
(defaults to LIKE), and accounts connected before the social-feed scopes were
|
|
28330
28331
|
requested get a 403 with code `linkedin_reconnect_required`.
|
|
28332
|
+
|
|
28333
|
+
Instagram is in LIMITED RELEASE and not generally available: the call needs
|
|
28334
|
+
`instagram_manage_engagement`, which Meta has so far granted this app only under
|
|
28335
|
+
Standard Access, so it works for app admins, developers and testers of our Meta app
|
|
28336
|
+
and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account.
|
|
28337
|
+
That restriction lifts when Meta App Review grants Advanced Access; the constraints
|
|
28338
|
+
below apply once it does.
|
|
28339
|
+
|
|
28340
|
+
Instagram covers comments and replies on feed posts, reels and carousels. Only an
|
|
28341
|
+
account connected through Facebook Login can be granted
|
|
28342
|
+
`instagram_manage_engagement`: an Instagram Login connection returns a 400 with
|
|
28343
|
+
code `instagram_likes_require_facebook_login`, and an account whose token predates
|
|
28344
|
+
the permission returns a 403 with code `reconnect_required`. Content from private
|
|
28345
|
+
accounts cannot be liked. Instagram also enforces a burst limit of 50 like or
|
|
28346
|
+
unlike calls per 5 seconds per Instagram account, and exceeding it locks that
|
|
28347
|
+
account out of the like API for an hour, so pace bulk loops.
|
|
28331
28348
|
tags: [Comments]
|
|
28332
28349
|
security: [{ bearerAuth: [] }]
|
|
28333
28350
|
parameters:
|
|
@@ -28370,14 +28387,16 @@ paths:
|
|
|
28370
28387
|
description: Platform does not support liking comments
|
|
28371
28388
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
28372
28389
|
'403':
|
|
28373
|
-
description: Inbox addon required
|
|
28390
|
+
description: Inbox addon required, or the account is missing the platform permission
|
|
28374
28391
|
delete:
|
|
28375
28392
|
x-resource-group: "engagement"
|
|
28376
28393
|
operationId: unlikeInboxComment
|
|
28377
28394
|
summary: Unlike comment
|
|
28378
28395
|
description: |
|
|
28379
28396
|
Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky,
|
|
28380
|
-
Reddit, LinkedIn. For Bluesky, the likeUri query
|
|
28397
|
+
Reddit, LinkedIn, and Instagram in limited release. For Bluesky, the likeUri query
|
|
28398
|
+
parameter is required. Instagram has the same limited release, Facebook Login,
|
|
28399
|
+
`instagram_manage_engagement` and burst-limit constraints as liking.
|
|
28381
28400
|
tags: [Comments]
|
|
28382
28401
|
security: [{ bearerAuth: [] }]
|
|
28383
28402
|
parameters:
|
|
@@ -28413,7 +28432,7 @@ paths:
|
|
|
28413
28432
|
description: Platform does not support unliking comments
|
|
28414
28433
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
28415
28434
|
'403':
|
|
28416
|
-
description: Inbox addon required
|
|
28435
|
+
description: Inbox addon required, or the account is missing the platform permission
|
|
28417
28436
|
|
|
28418
28437
|
/v1/inbox/posts/{postId}/like:
|
|
28419
28438
|
post:
|
|
@@ -28421,7 +28440,8 @@ paths:
|
|
|
28421
28440
|
summary: Like post
|
|
28422
28441
|
description: |
|
|
28423
28442
|
Like (or react to) a post as a connected account. Supported platforms: LinkedIn,
|
|
28424
|
-
Twitter/X, Facebook, YouTube, Bluesky
|
|
28443
|
+
Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release (see below).
|
|
28444
|
+
Threads, TikTok and Pinterest
|
|
28425
28445
|
expose no like endpoint in their APIs and return 400. Reddit returns 400 too,
|
|
28426
28446
|
pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote,
|
|
28427
28447
|
downvote and clear on both posts and comments.
|
|
@@ -28437,6 +28457,22 @@ paths:
|
|
|
28437
28457
|
scopes, which are not retroactive: accounts connected before those were requested
|
|
28438
28458
|
get a 403 with code `linkedin_reconnect_required` until the user reconnects the
|
|
28439
28459
|
account. YouTube spends 50 quota units per call.
|
|
28460
|
+
|
|
28461
|
+
Instagram is in LIMITED RELEASE and not generally available: the call needs
|
|
28462
|
+
`instagram_manage_engagement`, which Meta has so far granted this app only under
|
|
28463
|
+
Standard Access, so it works for app admins, developers and testers of our Meta app
|
|
28464
|
+
and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account.
|
|
28465
|
+
That restriction lifts when Meta App Review grants Advanced Access; the constraints
|
|
28466
|
+
below apply once it does.
|
|
28467
|
+
|
|
28468
|
+
Instagram covers feed images, reels and carousels (stories and private-account
|
|
28469
|
+
media are not likeable). Only an account connected through Facebook Login can be
|
|
28470
|
+
granted `instagram_manage_engagement`: an Instagram Login
|
|
28471
|
+
connection returns a 400 with code `instagram_likes_require_facebook_login`, and an
|
|
28472
|
+
account whose token predates the permission returns a 403 with code
|
|
28473
|
+
`reconnect_required`. Instagram also enforces a burst limit of 50 like or unlike
|
|
28474
|
+
calls per 5 seconds per Instagram account, and exceeding it locks that account out
|
|
28475
|
+
of the like API for an hour, so pace bulk loops.
|
|
28440
28476
|
tags: [Comments]
|
|
28441
28477
|
security: [{ bearerAuth: [] }]
|
|
28442
28478
|
parameters:
|
|
@@ -28483,7 +28519,9 @@ paths:
|
|
|
28483
28519
|
summary: Unlike post
|
|
28484
28520
|
description: |
|
|
28485
28521
|
Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X,
|
|
28486
|
-
Facebook, YouTube, Bluesky. On YouTube this clears
|
|
28522
|
+
Facebook, YouTube, Bluesky, and Instagram in limited release. On YouTube this clears
|
|
28523
|
+
the rating. Instagram has the same limited release, Facebook Login,
|
|
28524
|
+
`instagram_manage_engagement` and burst-limit constraints as liking. For Bluesky,
|
|
28487
28525
|
`likeUri` (returned when the post was liked) is required. Reddit uses
|
|
28488
28526
|
`POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
28489
28527
|
tags: [Comments]
|
|
@@ -93,7 +93,7 @@ describe 'CommentsApi' do
|
|
|
93
93
|
|
|
94
94
|
# unit tests for like_inbox_comment
|
|
95
95
|
# Like comment
|
|
96
|
-
# Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`.
|
|
96
|
+
# Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn, and Instagram in limited release (see below). For Bluesky, the cid (content identifier) is required in the request body. For LinkedIn, pass the composite comment URN returned by the comments endpoints as commentId; an optional reactionType picks the reaction (defaults to LIKE), and accounts connected before the social-feed scopes were requested get a 403 with code `linkedin_reconnect_required`. Instagram is in LIMITED RELEASE and not generally available: the call needs `instagram_manage_engagement`, which Meta has so far granted this app only under Standard Access, so it works for app admins, developers and testers of our Meta app and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account. That restriction lifts when Meta App Review grants Advanced Access; the constraints below apply once it does. Instagram covers comments and replies on feed posts, reels and carousels. Only an account connected through Facebook Login can be granted `instagram_manage_engagement`: an Instagram Login connection returns a 400 with code `instagram_likes_require_facebook_login`, and an account whose token predates the permission returns a 403 with code `reconnect_required`. Content from private accounts cannot be liked. Instagram also enforces a burst limit of 50 like or unlike calls per 5 seconds per Instagram account, and exceeding it locks that account out of the like API for an hour, so pace bulk loops.
|
|
97
97
|
# @param post_id
|
|
98
98
|
# @param comment_id
|
|
99
99
|
# @param like_inbox_comment_request
|
|
@@ -107,7 +107,7 @@ describe 'CommentsApi' do
|
|
|
107
107
|
|
|
108
108
|
# unit tests for like_post
|
|
109
109
|
# Like post
|
|
110
|
-
# Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky
|
|
110
|
+
# Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release (see below). Threads, TikTok and Pinterest expose no like endpoint in their APIs and return 400. Reddit returns 400 too, pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote, downvote and clear on both posts and comments. The account does not have to be the one that published the post, which is what makes executive engagement possible: pass an exec's `accountId` and the brand post's ID. `postId` accepts either a Zernio post ID or the platform's native post ID. A Zernio post ID resolves to the entry for `accountId`, falling back to the post's single entry on the same platform (two entries on that platform is a 400, so pass the native ID). LinkedIn requires the `w_member_social_feed` / `w_organization_social_feed` scopes, which are not retroactive: accounts connected before those were requested get a 403 with code `linkedin_reconnect_required` until the user reconnects the account. YouTube spends 50 quota units per call. Instagram is in LIMITED RELEASE and not generally available: the call needs `instagram_manage_engagement`, which Meta has so far granted this app only under Standard Access, so it works for app admins, developers and testers of our Meta app and returns a 403 with code `PLATFORM_BETA_RESTRICTED` for every other account. That restriction lifts when Meta App Review grants Advanced Access; the constraints below apply once it does. Instagram covers feed images, reels and carousels (stories and private-account media are not likeable). Only an account connected through Facebook Login can be granted `instagram_manage_engagement`: an Instagram Login connection returns a 400 with code `instagram_likes_require_facebook_login`, and an account whose token predates the permission returns a 403 with code `reconnect_required`. Instagram also enforces a burst limit of 50 like or unlike calls per 5 seconds per Instagram account, and exceeding it locks that account out of the like API for an hour, so pace bulk loops.
|
|
111
111
|
# @param post_id Zernio post ID or the platform's native post ID
|
|
112
112
|
# @param like_post_request
|
|
113
113
|
# @param [Hash] opts the optional parameters
|
|
@@ -195,7 +195,7 @@ describe 'CommentsApi' do
|
|
|
195
195
|
|
|
196
196
|
# unit tests for unlike_inbox_comment
|
|
197
197
|
# Unlike comment
|
|
198
|
-
# Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn. For Bluesky, the likeUri query parameter is required.
|
|
198
|
+
# Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit, LinkedIn, and Instagram in limited release. For Bluesky, the likeUri query parameter is required. Instagram has the same limited release, Facebook Login, `instagram_manage_engagement` and burst-limit constraints as liking.
|
|
199
199
|
# @param post_id
|
|
200
200
|
# @param comment_id
|
|
201
201
|
# @param account_id
|
|
@@ -210,7 +210,7 @@ describe 'CommentsApi' do
|
|
|
210
210
|
|
|
211
211
|
# unit tests for unlike_post
|
|
212
212
|
# Unlike post
|
|
213
|
-
# Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky. On YouTube this clears the rating. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
213
|
+
# Remove this account's like from a post. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky, and Instagram in limited release. On YouTube this clears the rating. Instagram has the same limited release, Facebook Login, `instagram_manage_engagement` and burst-limit constraints as liking. For Bluesky, `likeUri` (returned when the post was liked) is required. Reddit uses `POST /v1/accounts/{accountId}/reddit-vote` with `direction: 0`.
|
|
214
214
|
# @param post_id Zernio post ID or the platform's native post ID
|
|
215
215
|
# @param account_id
|
|
216
216
|
# @param [Hash] opts the optional parameters
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.778
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -5464,7 +5464,7 @@ files:
|
|
|
5464
5464
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5465
5465
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5466
5466
|
- spec/spec_helper.rb
|
|
5467
|
-
- zernio-sdk-0.0.
|
|
5467
|
+
- zernio-sdk-0.0.778.gem
|
|
5468
5468
|
- zernio-sdk.gemspec
|
|
5469
5469
|
homepage: https://openapi-generator.tech
|
|
5470
5470
|
licenses:
|
data/zernio-sdk-0.0.777.gem
DELETED
|
Binary file
|