upload-post 2.7.0__tar.gz → 2.8.0__tar.gz
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.
- {upload_post-2.7.0 → upload_post-2.8.0}/PKG-INFO +1 -1
- {upload_post-2.7.0 → upload_post-2.8.0}/setup.py +1 -1
- {upload_post-2.7.0 → upload_post-2.8.0}/upload_post/__init__.py +1 -1
- {upload_post-2.7.0 → upload_post-2.8.0}/upload_post/api_client.py +7 -3
- {upload_post-2.7.0 → upload_post-2.8.0}/upload_post.egg-info/PKG-INFO +1 -1
- {upload_post-2.7.0 → upload_post-2.8.0}/README.md +0 -0
- {upload_post-2.7.0 → upload_post-2.8.0}/setup.cfg +0 -0
- {upload_post-2.7.0 → upload_post-2.8.0}/upload_post/cli.py +0 -0
- {upload_post-2.7.0 → upload_post-2.8.0}/upload_post.egg-info/SOURCES.txt +0 -0
- {upload_post-2.7.0 → upload_post-2.8.0}/upload_post.egg-info/dependency_links.txt +0 -0
- {upload_post-2.7.0 → upload_post-2.8.0}/upload_post.egg-info/requires.txt +0 -0
- {upload_post-2.7.0 → upload_post-2.8.0}/upload_post.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: upload-post
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
4
4
|
Summary: Cross-platform social media upload for TikTok, Instagram, YouTube, LinkedIn, Facebook, Pinterest, Threads, Reddit, Bluesky, Discord, Telegram, and X (Twitter)
|
|
5
5
|
Home-page: https://www.upload-post.com/
|
|
6
6
|
Author: Upload-Post
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="upload-post",
|
|
8
|
-
version="2.
|
|
8
|
+
version="2.8.0",
|
|
9
9
|
author="Upload-Post",
|
|
10
10
|
author_email="hi@img2html.com",
|
|
11
11
|
description="Cross-platform social media upload for TikTok, Instagram, YouTube, LinkedIn, Facebook, Pinterest, Threads, Reddit, Bluesky, Discord, Telegram, and X (Twitter)",
|
|
@@ -303,12 +303,16 @@ class UploadPostClient:
|
|
|
303
303
|
"""Add Facebook-specific parameters."""
|
|
304
304
|
if kwargs.get("facebook_page_id"):
|
|
305
305
|
data.append(("facebook_page_id", kwargs["facebook_page_id"]))
|
|
306
|
-
|
|
306
|
+
|
|
307
|
+
# facebook_media_type (POSTS/STORIES/REELS) is honored for BOTH photos and video
|
|
308
|
+
# (backend uploadphotos.py reads request.form.get('facebook_media_type')). Gating it
|
|
309
|
+
# behind is_video prevented publishing Facebook Story photos from the SDK.
|
|
310
|
+
if kwargs.get("facebook_media_type"):
|
|
311
|
+
data.append(("facebook_media_type", kwargs["facebook_media_type"]))
|
|
312
|
+
|
|
307
313
|
if is_video:
|
|
308
314
|
if kwargs.get("video_state"):
|
|
309
315
|
data.append(("video_state", kwargs["video_state"]))
|
|
310
|
-
if kwargs.get("facebook_media_type"):
|
|
311
|
-
data.append(("facebook_media_type", kwargs["facebook_media_type"]))
|
|
312
316
|
if kwargs.get("thumbnail_url"):
|
|
313
317
|
data.append(("thumbnail_url", kwargs["thumbnail_url"]))
|
|
314
318
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: upload-post
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
4
4
|
Summary: Cross-platform social media upload for TikTok, Instagram, YouTube, LinkedIn, Facebook, Pinterest, Threads, Reddit, Bluesky, Discord, Telegram, and X (Twitter)
|
|
5
5
|
Home-page: https://www.upload-post.com/
|
|
6
6
|
Author: Upload-Post
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|