feed2gram 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +9 -0
- data/lib/feed2gram/publishes_posts.rb +1 -1
- data/lib/feed2gram/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d7df2ec80dbb74a17c949d313295b78f9c12e12d8d7c0a877f9c88fc1c47927
|
4
|
+
data.tar.gz: f3f2f81adbcc099187b9ae217515fe413d51a06aaa6d891030da95787d2e7a3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97bf528875a41fc41ec81ef8ef72d03ff26f065ff08c4635a2efbd9125df621eae135f18c310a914ce3547f38959e6a6e837eb48e36fe9f33678fb3268a4c3ca
|
7
|
+
data.tar.gz: 70fd8c087f0b20b95206a9f9bed950f4be3cd4e88e41e7de43039588d1f9ce2d5cd19e5b94ca76ca7166472a2677307ea609aee4172b7c9cf700312115170b16
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -238,3 +238,12 @@ It means your photo is too avant garde for a mainstream normie platform like
|
|
238
238
|
Instagram. Make sure all images' aspect ratios are between 4:5 and 1.91:1 or
|
239
239
|
else the post will fail.
|
240
240
|
|
241
|
+
### How do I test this thing? It's not allowing any of my videos
|
242
|
+
|
243
|
+
The hardest thing about testing this (other than the _everything about it_) is
|
244
|
+
that the API is way stricter about video formats than the app is, since the app
|
245
|
+
processes them for you. Here are two example videos the API _will accept_ from
|
246
|
+
the [official example repo](https://github.com/fbsamples/reels_publishing_apis/tree/main/insta_reels_publishing_api_sample):
|
247
|
+
|
248
|
+
* https://static.videezy.com/system/resources/previews/000/014/045/original/30_seconds_digital_clock_display_of_sixteen_segments.mp4
|
249
|
+
* https://static.videezy.com/system/resources/previews/000/032/359/original/MM008645___BOUNCING_FRUIT_009___1080p___phantom.mp4
|
@@ -134,7 +134,7 @@ module Feed2Gram
|
|
134
134
|
end
|
135
135
|
|
136
136
|
def publish_carousel(post, config, options)
|
137
|
-
media_containers = post.medias.take(
|
137
|
+
media_containers = post.medias.take(20).map { |media|
|
138
138
|
puts "Creating media resource for URL - #{media.url}" if options.verbose
|
139
139
|
create_carousel_media_container(media, config)
|
140
140
|
}
|
data/lib/feed2gram/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feed2gram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.5.
|
80
|
+
rubygems_version: 3.5.23
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Reads an Atom feed and posts its entries to Instagram
|