My application is using the Foursquare API with some calls that requires the access token. My question is that when I am retrieving the access token and redirect the user to Foursquare to Log In, I see that their is a Sign up link. When I click the link the user get directed to the playstore. I do not want the user to download the Foursquare App. I want them to be able to signup with a web view.
Please help me with this
If your user does not have a Foursquare account and needs to sign up for one, it's very likely that they do not have the app itself either. The best way to experience and learn about Foursquare is through the native app itself—it is difficult to teach a user why they should use Foursquare through a mobile web experience. There is a sign-up flow that users can go through with the native app.
you can achieve this using socialauth android
The api provides foursquare login to get profile and contacts. using access token you can make your own custom calls.
Related
I want to create a mobile application. And I want to send message and post to others account. Basically I want to promotion of my company in Instagram App. Now I want to know that are these activity possible in instagram app using api key?
Why you don't try to read official Instagram API Docs from help page?
This is from the developer help page what you're searching for:
https://api.instagram.com/v1/users/[user-id]/relationship?access_token=[ACCESS-TOKEN]
You must modify for you the relationship between the current user and the target user.
PARAMETERS:
ACCESS_TOKEN A valid access token.
ACTION One of: follow/unfollow/block/unblock/approve/deny.
So if you're logged in, you should fetch the valid access token after that, you can choose your action follow or unfollow with user-id.
You can read more from this page
I have a server with REST api & a native android app.
What I want is to give users ability to register and login using their facebook account: if user is not registered yet - then it taps the Login with Facebook button, grant me basic permissions and I create an account on my server; if the user is already registered - then he just logs in and can use the app.
Can you give me any links to resources where this flow is being described?
Because I really can't understand how it should work.
Should I use facebook SDK for android, get user data from it and then send to my server? Then how do I manage user after this...
I only need facebook for user registration and login, all app functionality will be based by custom data from my server.
Greatings, Graykos.
I will give you few resources what I think we will be useful for you:
Login with Facebook. Official docs Facebook Developers I.
Login Flow with Facebook. Official docs Facebook Developers II.
Testing a Login Flow. Official docs Facebook Developers III.
The right way to implement Facebook login for your app. LaunchKit.
Old question about this teme, which is here. In this case, you probably will need to update some methods.
If you have some questions about this when you develop your Facebook login, let us know, in SO!
Have a good day!
I am developing an Application with a google appengine backend where I want the user to be able to login.
It should be possible to login with Facebook, Google+ and my own login(for those users who don't have any fb or google account). Also it should be possible that when the user starts the app he shouldn't need to log in again if he didn't logged out before. So a valid token is requested somehow.
I already implemented the facebook login which uses sessions and a helper that handles all that stuff.
Thats all fine. But what I couldn't really figure out yet is what would be a right way to implement my own login. Is it right that this can be done with the Android AccountManager and Oauth2.0? If yes I don't really know how to combine that with the facebook login because that uses it's own facebook token. Would I need to handle two tokens then for a user that logs in with facebook and calls authanticated requests?
There are so many apps who have those three possibilities are they all using their own selfmade login procedure for the own app login, or is this done somehow with the AccountManager or something else in general?
Can somebody explain this to me or point me in the right direction or just give a little overview because I am just confused right now with all this.
I am developing an API that will be used solely for a mobile app, the mobile app allows users to log in via facebook and grant the app permission to access the users facebook friends list and post on their wall.
However I have some confusion as to where I integrate into the API and where the app developers integrate. I assume the login with facebook part is done by the app developers, who then pass the facebook access token into the API for it to store/retrieve friend list and make posts on the users wall.
Am I correct in assuming this? And if so can I test my part the implementation by retrieving friends list without having the app developers do their part first?
Thanks
First you have to register your app with your facebook id in developer.facebook.com then you will get the app id which you have to put into facebook login that generate access token for the process
To make any call to the Facebook API you need an app ID. after receiving it, you can make calls to the API from your controller using the Facebook php SDK
I would like to integrate Facebook into an application - enable login using Facebook credentials (Single Sign On, to login to a third-party service), and also share some wall posts.
The problem is, I don't want to depend on the installation of the official Facebook app.
I heard about some solution involving opening Facebook login from a WebView, but didn't find details.
Anyone has experience with that?
Thanks
Yes you can do it using the OAuth for getting permission, then use the Graph API to post on users walls.
Please see this link for OAuth: http://developers.facebook.com/docs/authentication/
And this link for Graph API documentation:
http://developers.facebook.com/docs/reference/api/
especially for posting http://developers.facebook.com/docs/reference/api/post/
All Facebook APIs built on the idea that you perform request from a particular application (identified by application id). So the answer is NO, you cannot perform API queries (as well as authentication) without having registered an app.