Foursquare: Authomatic bulkclaim venues - foursquare

this is a case for the real estate sector
is it possible to add residences for sale as a venue of the agency ? (not representing the office, but the product it self)?
Can this be done automatically through the real estate side (like a API feed to 4square) instead of using the bulkclaim excel file?
Will the system allow to manage authomaticly the venues (homes for sale) and delete them once they're sold?

You can always add venues using the venues/add endpoint, but you may not be able to instantly delete the venues. Also note that it's against foursquare's policies to add a person's home on foursquare without their explicit consent.

Related

Foursquare Venues outdated data?

The last days I spent trying around with the Foursquare Places API.
When I send a normal "search" query for venues:
https://api.foursquare.com/v2/venues/search?ll=48.03468,14.2091&client_id=<client_id>&client_secret=<client_secret>&v=20181010&radius=8000&categoryId=<a bunch of categories>
Then I often get duplicated venues (same restaurant for instance just another name for it) or venues which are not existing anymore.
Is this normal or is the reason for this that I use the "Sandbox" Account and not a bought one (like StartUp).
Another question:
The 'Opening Hours' query (/venue/id/hours) does not provide opening hours. Same reason, or is there just no data available in the Foursquare Database?

Is it possible to use Instagram API in order to make a user list according to the number of followers?

Instagram API permission is strict now and I want to know whether the tool my company will make can get the permission from Instagram or not, because it may not suit with the 3 valid use case.
We are an offshore company which develops application.
One clients ( PR or Advertisement company) asked us to make an app which finds influencers(the user who has many followers) on Instagram so that the clients can ask the influencer to advertise their products.
We want to make a influencer searching tool. Lets, say if you search with #Chocolate, the list of users who have posted photos with #Chocolate will show up, and we want to sort out the list according to the number of followers.
Referring to the valid use case for Instagram, which case may be suitable for the app we want to make?
Also, by one-off project, what does it mean? We are an offshore company and get orders from a client which want us to make a tool for them. If we just make it, and will not sell or use the application again, would it be "one-off" project?
In order to avoid one-off project, do we need to keep selling or offering the app ?
There is no direct API call to make this. You have to make a series of API calls to get all the posts for hashtag, this will have user_id and name. Then for each user you have to make another API call to get followers count. And then you have sort the results and make query for >3000
For example #chocolate has 1 million posts, so to get all 1 million posts you have make about 50000 API calls (u get 20 post per API call), and then you have to make 1 million user_info API calls to get follower counts, so 1050000 API calls total and you have 5000/hr API calls limit. So to complete this operation it will take you 9 days.
This will be a one off project if u do for a client use, you have to make a platform or service for this feature and have your client (and others) login and use the service.
In any case, the project is unrealistic to implement due to the limitation of APIs

"Save to Foursquare" button not matching venue

We accurately geolocate venues and then check whether there is a Foursquare venue for that place. Even in the US, but especially in Asia or Africa, lots of Foursquare venues are not correctly mapped. Out of concern for accuracy and not wishing to introduce duplicates into Foursquare - and, until recently, unable to update existing venues in Foursquare - we mapped and then matched our places with venues already in Foursquare.
Previously, with the iFrame-based button, there was no problem if the coordinates of our place were not exactly the same as those in Foursquare. We could attach the Foursquare venue id that corresponded to the venue in our system, and our user could save it to their Foursquare. But now the iFrame button at
http://foursquare.com/button.html?vid=
seems to have stopped working.
Now, for those previously nonexistent Foursquare venues that we added ourselves or, seemingly, where there is a very close match with the lat/long we supply, the new javascript-based button works.
But for many others, painstakingly matched over the years, because our correct locations don't match the incorrect ones carelessly entered into Foursquare, the "Save to Foursquare" button is useless on our site.
I can imagine that this would also be a problem where the venue has been re-located and a publisher's location metadata reflects the old location.
Why not just use Foursquare venue ids?
You can use Foursquare venue IDs with our more modern widgets: https://developer.foursquare.com/overview/widgets. The embedding pattern is a little different but there is a vid key you can pass in to have the widget be associated with a particular venue.

Can foursquare users tag or otherwise categorize checkins?

A client is proposing an app that would display checkins from users who have agreed to share their foursquare info with us; the catch is that they would want to distinguish between checkins that are and aren't relevant to this app. Is there a way to handle that, for instance with user comments at the time of checkin?
You can always look at the category of the venue the user has checked into, which should be available from the check-in response, or filter by specific venues directly. You can also filtering by content in a check-in shout is also a viable idea; the #mom app does this.

Foursquare Checkin in delivery restaurants

I have an app where you can buy food on delivery restaurants.
Can I use the Foursquare API so the user can check-in on the restaurant that he order from?
Probably the user will not be in the resutaurant it self when he checkin.
There is an special way to do this on the foursquare api?
thanks
You can check-in any user that has authorized your application at a venue using the /checkins/add endpoint in the API. If you don't know the user's actual location (or fully expect them not to actually be there, but have a legitimate reason to be checking in, e.g. for delivery) be sure to leave the lat/lng parameter blank. The check-in will go through and be in the user's history, but won't count for badges/mayorships, etc.
I'm not too sure what you're asking. I don't think you can check in to places if you're not even near them (or at least I wasn't able to when I last used the 4sq API).
Check this tutorial out if you need help getting started with the API, or read the 4sq api documentation.

Resources