Linking Foursquare and Facebook accounts 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. Is there a way to programmatically connect user's Facebook account with their Foursquare account, and grant them Foursquare permission to post to Facebook wall? I want to do it on the Settings page of my app.

The user will need to grant Foursquare access to their Facebook account, which only the user can do. You can link the user to their settings page where they can elect to connect Facebook to their Foursquare account.

Related

How to specify a test account for the Instagram Basic Display API App Review

I have a webapp that wants to access a user's posts via the new Instagram Basic Display API. Everything works and I now want to go live, but I find the App Review process really hard to understand!
The App Review documentation states that you have to demonstrate in a screencast how the reviewer can log in to your app, request authentication from Instagram and then make use of the Basic Display API. I have created a test account in my webapp and provided those credentials to the app reviewers. The question is what Instagram account they are meant to connect to.
I would assume that they have their own special Instagram accounts that are pre-approved to all in-development applications. But just in case that wasn't the case, I created an Instagram Account just for this purpose and gave its test credentials to the app reviewers.
My review was just rejected, with the screenshot below given as a reason. Turns out that the reviewers did in fact try to use my test instagram account, but Instagram thought their login attempt was suspicious and wanted to confirm that they really own the account.
What am I meant to do with this? Facebook owns Instagram, and I am trying to get access to Instagram's API, but their Facebook app reviewers don't seem able to test their own Instagram Basic Display API!
The only thing I can think of is giving them access to the test account's webmail so they can unlock their own suspicious login attempt.
Is it really meant to be this difficult?]1

Request Instagram app to authenticate our website users

We have implemented Instagram Login in our site and it is working ok. The issue is that our users have the Instagram app installed in their phones and they are logged in there. But when they try to login into our website using Instagram Login the API opens a webpage asking them to login to Instagram and after that, they will be correctly logged into our app.
Is there a way we can ask the Instagram API to use the Instagram app to authenticate our users?

Not be able to register on spotify tool

I'm trying to register on spotify either create an account or facebook login. But not get login.
When I try login by facebook then return message
You do not have a Spotify account connected to your Facebook account. If you have a Spotify account, please log in with your Spotify credentials. If you do not have a Spotify account, sign up.
When I create an account by register
It takes more time but returns nothing
If you are in a region where Spotify is not supported, this often is the case, try using VPN.

To get user id from username in instagram api

Any ways to get user id from username in instagram api?
Other than user/search endpoint and instagram front code cracking (https://instagram.com/{username}/?a__=1)
You can get user id from username using instagram api.
Register your app here:https://www.instagram.com/developer and submit review for public_content permission.
Using their https://www.instagram.com/developer/endpoints/users/#get_users_search
api you can get information about user.
To get working above api make sure you have public_content permission approved for your app.

Enabling Instagram Chat API

I want to enable users of my app to message other Instagram users and also the app to send notifications to Instagram users.
Where can I find the API calls used my Instagram apps like InstaDM and Instachat which enables users to message/chat other Instagram users?
The API Console doesn't show any messaging/posting functions (unlike Twitter & Facebook)
http://instagram.com/developer/api-console/
Instagram doesn't support chat on its API :(

Resources