changing the logo of a venue from the API - foursquare

We're looking for a way to change the venue's logo image through the API. We're able to add pictures to the venue via the /photos/add endpoint with the venueId parameter, and that seems to work as expected.
However, we're completely stumped about changing the logo of the venue and cannot seem to find the documentation.
Is this achievable?
Thanks.

Related

How can I get the business page icon from instagram using API?

I need to get the business icon from it's instagram account, but I didn't found something like that in documentation, I only found how to get the business's media.
Is it possible to catch it?
Looking at Page Information, there's a section called "Edge" and in it there is a attribute called "picture"

Twitter api doesn't send media element with timeline

So I am using the twitter node module and twitters rest api to fetch timelines.
All works well, except that attached images do not get sent with the response.
Even after I added "include_entities: true" to the options object.
I'm talking about an image directly attached to a twitter post, links get displayed just fine.
I simply can't find a way to get it to display, any help is appreciated.
Every tweet has a Media Entity attached to it. You need to find the Media Id and then get the URL from -mediaURL. The below picture shows the full object model.
PC : https://www.visual-paradigm.com/tutorials/rest-api-design-twitter-example.jsp

How to get "public_content" permission in Instagram API?

I have App what use in my website a widget by inwidget.ru : this widget show recent photos by special user or hashtag (people who have red heads and use #redpeopleorg in Instagram will show in my website http://redpeople.org).
After 17'November 2015 Instagram had change rules.
I made a screencast, send submission with description why I need live-mode and tried to get "public_content" permission in Instagram API, but they changed review status to "Declined".
Anybody have positive experience with reviewing applications in Instagram Api?
I don't know devs who had. Bat there's still a hope, e.g. you can parse public search results:
https://www.instagram.com/explore/tags/hashtag/
I use a bunch of javascript code, that contains json string with all posts - just json_decode'd it.

How can I search Instagram with hashtags via a URL?

On both Facebook and Twitter, you can do a simple search of hashtags on these channels via a URL search, for example,
https://www.facebook.com/hashtag/myhashtag
Can you do the same with Instagram also? I can't seem to figure it out. I did find some API, but that's about all: https://instagram.com/developer/endpoints/tags/
This might be something that Instagram implemented after this question was originally asked, but this currently works:
http://instagram.com/explore/tags/yourhashtag
OR
http://instagram.com/tags/yourhashtag
The latter simply redirects to the former, but it's handy to have a shorter URL in some instances.
You'll find out more about how to customise Instagrams URLs by using endpoints on their API documentation page.
I'm not very familiar with how to use URL parameters and I'd be curious to know if anyone has found a way to filter via URL both by user and hashtag. Meaning that you show everything a specific user has posted with a specific hashtag. Many Instagram plugins allow you to do this at the same time, so one would hope it's possible via URL as well.
There is the instagram public API's tags section that can help you do
this. http://instagram.com/developer/endpoints/tags/
http://iconosquare.com/tag/ is another alternative
For example: http://iconosquare.com/tag/flowers
via https://stackoverflow.com/a/11182218/1085891

Is it possible to get the Instagram news feed through the API?

When you open the Instagram APP you can look at your news feed where you can see that someone is now following you, likes or has commented on a certain photo.
When I look at the Instagram API (http://instagram.com/developer/) I can retrieve likes and comments when I request a certain media ID. However in order to know if someone has commented on a photo of mine I would need to scan all the photo's and request it's comments to check if any new comments have been made.
Does anyone know of a better way? Help is appreciated.
If it helps, content for "Following" tab is available at http://instagram.com/api/v1/news/, and "News" tab at http://instagram.com/api/v1/news/inbox/ (you need to be logged in to your account).
All URLs point to internal instagram:// protocol so you would need to replace them when parsing and there seem to be no pagination options.

Resources