Posting Foursquare check-in to Facebook Timeline map programmatically? - foursquare

I am working on iOS / php / MySQL application, which uses Foursquare API, in order to post check-ins to Foursquare. I would also like to post these Foursquare check-ins to Facebook Timeline map. Basically, after clicking "Check-in" button, check-in should be posted to both Foursquare and Facebook. What is the best way to do it? Please provide quick example. Appreciate it.
Note: I don't have "Log in with Facebook" functionality in my application, only "Log in with Foursquare"

The checkins/add endpoint has a broadcast parameter, which accepts the value facebook. If that parameter is provided, the check-in will be shared to Facebook, if possible. The user will have needed to connect their Facebook account with their Foursquare account, and granted Foursquare permission to post to their wall for this to work.

Related

Get someone else's instagram stories

I need to get an instagram user stories and add them to my app.
I've searched a lot and didn't find any way to do such.
I tried to search it on instagram api and facebook graph api but it seems that they provide only own user data after the user is logged in.
How can i achieve that ?
Unfortunately this is not possible with the official Instagram Graph API.

Track users that visit your Instagram profile

is there a way I can use the instagram API and check what users are visiting my instagram profile ?
For example, I'd like to develop something that tells you what users are visiting your profile the most on a weekly basis.
Thanks!
I'm not 100% sure but it might be possible now with the facebook insight graph API. It's basicly a new one where you can find data connection between facebook and instagram accounts. Mainly targeting business account thought.

instagram dev account: track hashtags

Since there is no way to message the Instagram support directly, I'm trying my luck here. In case of asking a redundant question, please forgive us.
We're trying to use the Instagram API with a Nodejs web application, to track Instagram feeds for a specific hashtag. right now, there's a developer account in sandbox mode. Using a simple get request (https://www.instagram.com/developer/endpoints/media/), we receive Instagram photos with a specific hashtag, which were posted by ourselves, but not from any public Instagram accounts. Since Instagram changes the access conditions for features like this, could you help us with my question?
In sandbox mode you will only see your and your sandbox users' posts in API response, once you complete app, get approved by Instagram and go live, you will get all posts for hashtag search.

Can I get likes by specific user using Instagram API?

Can I get likes by specific user using Instagram API? I saw this in Windows Phone app, but I can't find it in API docs.
Is it possible?
If I understand this correctly, you wish to get the most recently liked photos of a particular user.
This can be done using the Instagram API - but only when that particular user has authenticated your app.
You can use the following endpoint:
GET /users/self/media/liked
Here the API call would be :
https://api.instagram.com/v1/users/self/media/liked?access_token=ACCESS-TOKEN
This will give you the list of recent media liked by the owner of the ACCESS-TOKEN.
More details on the Instagram API here :
https://www.instagram.com/developer/endpoints/users/#get_users_feed_liked
Unfortunately no, you can't.
This feature is only available on the Instagram app following this steps
To view the 300 most-recent posts you've liked, go to your account
settings in the app and then tap Posts You've Liked. You won't be able
to view posts you've liked on the web.

Getting facebook friends checkin using Foursquare API

I'd like to query for my facebook friend's check-ins using Foursquare. Is this possible and how can I do this? thanks
You can't see check-ins of anybody unless you are friends with them on Foursquare first (regardless if you're friends with them on Facebook). But if they are your friends on Foursquare, you should be able to see users' check-ins via checkins/recent or users/checkins

Resources