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 Not mapping Author #905

Closed
sugarfunk opened this issue Nov 5, 2018 · 3 comments
Closed

Instagram Bridge Not mapping Author #905

sugarfunk opened this issue Nov 5, 2018 · 3 comments
Labels
Bridge-Feature-Request Request for a new bridge feature

Comments

@sugarfunk
Copy link

Tried a few different Instagram feeds using Username and Hashtag.
The expected result is that the Instagram UserName is applied to the Name tag under Author, but the name is always blank and UserName isnt pulling in a different field.

@logmanoriginal
Copy link
Contributor

Sorry, your problem is not clear to me. Could you share some example queries?

@sugarfunk
Copy link
Author

Here is an example of atom output.

The "author" field has the key "name". I would expect or thought that the Instagram username would be the "name" field, but it is undefined.

<title type="text">Instagram Bridge</title>
<id>http://192.168.86.119:3000/</id>
<icon>https://www.instagram.com/favicon.ico</icon>
<logo>https://www.instagram.com/favicon.ico</logo>
<updated>2018-11-05T11:59:43+00:00</updated>
<link rel="alternate" type="text/html" href="https://www.instagram.com/explore/tags/f3cherokee" />
<link rel="self" href="http://192.168.86.119:3000/?action=display&amp;bridge=Instagram&amp;h=f3cherokee&amp;media_type=picture&amp;format=Atom" />

<entry>
	<author>
		<name></name>
	</author>
	<title type="html">That’s right. I showed up again this morning at 5:30a to take part in a fitness regiment we call a #f3cherokee beatdown. Where were you? Come join us man. ✌🏻</title>
	<link rel="alternate" type="text/html" href="https://www.instagram.com/p/Bppf3EkARNw/" />
	<id>https://www.instagram.com/p/Bppf3EkARNw/</id>
	<updated>2018-11-01T18:50:40+00:00</updated>
	<content type="html">&lt;img src="https://instagram.fatl1-1.fna.fbcdn.net/vp/e5f0cccab135426b5ca6919e3c4a96d1/5C7CE183/t51.2885-15/e35/43984752_2171232896460095_7112945735936578490_n.jpg" alt="That’s right. I showed up again this morning at 5:30a to take part in a fitness regiment we call a #f3cherokee beatdown. Where were you? Come join us man. ✌🏻" /&gt;</content>
	<link rel="enclosure" href="https://instagram.fatl1-1.fna.fbcdn.net/vp/e5f0cccab135426b5ca6919e3c4a96d1/5C7CE183/t51.2885-15/e35/43984752_2171232896460095_7112945735936578490_n.jpg" type="image/jpeg" />

	
</entry>

@logmanoriginal
Copy link
Contributor

I see now, thanks for clarifying it to me. This bridge actually doesn't fill in $item['author'], so this is why the field is empty. I suppose if a user name is provided as input parameter, it can be used for the feed. Unless the name is also provided in the JSON data.

I'll flag this as feature request for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bridge-Feature-Request Request for a new bridge feature
Projects
None yet
Development

No branches or pull requests

2 participants