Is there any Facebook user signup API available for iPhone?
There is no specific API available for new user creation ,
Instead you can call a Facebook Login Window through which there is link with signup - enable to create new user.
Related
I'm developing app which allows me to chat with customers via messenger. I'm chatting as a Page. I had to add that page into Facebook app -> Messenger -> Settings -> Access Token. It all works fine but is there any way to make that via API? I wanna add more pages on which I'm not admin. In fact I wanna allow admins to add theirs pages using my app.
Yes you can do that and this is the process
1: First thing first you will make a facebook login button with this scope pages_show_list when user clicks on it he/she can select as many page as he want, after the login flow completed you should have a App-Scoped User Access Token
2: since you had the pages_show_list scope when user signed in you now have the ability to call to this endpoint using the user access token graph.facebook.com/me/accounts?fields=name,access_token&access_token=[USER ACCESS TOKEN] after requesting for this endpoint you will get a list of the pages that the user was selecting in the login flow and you now will see that in the response you have name and access_token for each page
3: grab an access token of the page you want and post to this endpoint graph.facebook.com/{page-id}/subscribed_apps?subscribed_fields=feed,[and any other fields you want to subscribe to]&access_token=[USE THE PAGE ACCESS TOKEN]
after that you should get a success response and now your app is subscribed to the Facebook page
I'm using the javascript API to link a website account to a users facebook account but I'm not sure if I'm doing it the best/easiest way.
I've created a facebook app
Used the FB.ui feed option to allow the user to post to their timeline
This works fine but the ui will ask the user to login each time they start a new session on the website. Have I missed something? Do I need to store and use the User Access Token?
I am using facebook connect to allow users to log-in to my site using facebook. I am using the server side authentication using OAuth in classic ASP, vbscript. I want to know if one of the following is possible:
1) Can I identify if the user has authorized my app without redirecting to the Auth dialog? ie, even before the user clicks the facebook login button to log-in to my site, is there a way I can find out if the user who is currently logged into facebook has authorized my app?
2) How can I get the facebook user Id of the user who is currently logged into facebook? This is outside the facebook authentication process. Does facebook offer some api which I can use to read the fb cookie that is set when a user logs into facebook and get the logged-in users's facebook user id?
Thanks
1) Use FB.getLoginStatus from the JavaScript SDK.
2) If he’s not connected to your app yet, then not at all. Otherwise, see 1)
I want to use "LOGIN with Facebook" function for the new website. I have created a page with a Facebook login.
When I am trying to get code from:
https://developers.facebook.com/docs/reference/plugins/login/
It is asking me to create an Application.
So my question is Can I use "Login with facebook" functionality without Facebook Application integration?
No, you can't. Even when you retrieve the code you need for the Login plugin, Facebook instructs you to substitute APP_ID for your own. You'll need an application if you want to retrieve data about that person when they login, for example
email
name
gender
location
etc...
You'll have to authenticate your users with an app_id and app_secret to retrieve an access_token. That access_token is unique per user per application. More info on authentication is here.
Basically, every time you want to query Facebook's databases, with the Graph API or FQL, you do so on behalf of the user. Facebook links these calls to applications so that they will be able to know which application has what permissions and also what they are doing with them.
Click on over to https://developers.facebook.com/apps and after you have verified your Facebook developer account you'll be able to create a new app
Will the facebook fetching a tab application differs according to different login?
If I am login as application admin or page admin then facebook fetches the application through POST and if i am login as a normal user, then facebook fetches the page through GET
As I know, Facebook integrate with your app (iframe) with only one method (i.e POST). Everything you put on app URL facebook will post to your iframe.
For example apps.facebook.com/your_app/id/1, Facebook will POST id=1 to your iframe.
However, you can check an user whether is an app/page admin or not by using Open Graph API:
http://developers.facebook.com/docs/reference/api/page/#admins
I think you question somehow relate to this:facebook application API check if user is application admin in facebook
Hope this will helps.