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

Instagram bridge returns (no text) #1890

Open
lis0r opened this issue Dec 6, 2020 · 4 comments
Open

Instagram bridge returns (no text) #1890

lis0r opened this issue Dec 6, 2020 · 4 comments
Labels
Bug-Report Confirmed bug report

Comments

@lis0r
Copy link

lis0r commented Dec 6, 2020

The instagram bridge seems to be detecting new posts, but instead of responding with content, returns "(no text)"

<entry>
		<title type="html">250</title>
		<published>2020-12-06T02:45:43+00:00</published>
		<updated>2020-12-06T02:45:43+00:00</updated>
		<id>https://www.instagram.com/p/CIcKV3QhpRt/</id>
		<link rel="alternate" type="text/html" href="https://www.instagram.com/p/CIcKV3QhpRt/"/>
		<author><name>simon.hanselmann</name></author>
		<content type="html">&lt;br&gt;(no text)</content>
</entry>

To Reproduce
Configure a bridge with query string "?action=display&bridge=Instagram&context=Username&u=simon.hanselmann&media_type=all&direct_links=on&format=Atom", and pull it with curl.

In the docker logs for rss-bridge, I see lots of:

[Sun Dec 06 16:03:05.407134 2020] [php7:notice] [pid 16] [client 10.0.21.205:53210] PHP Notice:  Trying to get property 'data' of non-object in /app/bridges/InstagramBridge.php on line 221
[Sun Dec 06 16:03:05.411478 2020] [php7:notice] [pid 16] [client 10.0.21.205:53210] PHP Notice:  Trying to get property 'shortcode_media' of non-object in /app/bridges/InstagramBridge.php on line 221
[Sun Dec 06 16:03:05.411537 2020] [php7:notice] [pid 16] [client 10.0.21.205:53210] PHP Notice:  Trying to get property 'edge_media_to_caption' of non-object in /app/bridges/InstagramBridge.php on line 206
[Sun Dec 06 16:03:05.411558 2020] [php7:notice] [pid 16] [client 10.0.21.205:53210] PHP Notice:  Trying to get property 'edges' of non-object in /app/bridges/InstagramBridge.php on line 206
[Sun Dec 06 16:03:05.411579 2020] [php7:warn] [pid 16] [client 10.0.21.205:53210] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /app/bridges/InstagramBridge.php on line 206
[Sun Dec 06 16:03:05.411599 2020] [php7:notice] [pid 16] [client 10.0.21.205:53210] PHP Notice:  Trying to get property 'edge_sidecar_to_children' of non-object in /app/bridges/InstagramBridge.php on line 170
[Sun Dec 06 16:03:05.411616 2020] [php7:notice] [pid 16] [client 10.0.21.205:53210] PHP Notice:  Trying to get property 'edges' of non-object in /app/bridges/InstagramBridge.php on line 170
[Sun Dec 06 16:03:05.411635 2020] [php7:warn] [pid 16] [client 10.0.21.205:53210] PHP Warning:  Invalid argument supplied for foreach() in /app/bridges/InstagramBridge.php on line 170

Expected behavior
I would expect to see the images associated with the post in my RSS reader.

Desktop (please complete the following information):
MacOS 11 Safari 14.0.1 client
Ubuntu 18.04.5 LTS server, rssbridge/rss-bridge docker image

@lis0r lis0r added the Bug-Report Confirmed bug report label Dec 6, 2020
@PAHXO
Copy link

PAHXO commented Dec 7, 2020

This is related to #1881, but it was not merged yet.

Also "(no text)" show up when there's no text associated with the post.

@kheiro2
Copy link

kheiro2 commented Dec 9, 2020

Bridge returned error 500! any solution

@JimDog546
Copy link
Contributor

This particular issue should be fixed with PR #1920 which was merged a few hours ago. Data was often not being retrieved properly for posts with multiple images (sidecars) or with video(s). This functionality has been improved.

@dvikan dvikan closed this as completed Mar 26, 2022
@dvikan
Copy link
Contributor

dvikan commented Mar 27, 2022

#1891

@dvikan dvikan reopened this Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug-Report Confirmed bug report
Projects
None yet
Development

No branches or pull requests

5 participants