Integrating facebook - iphone

I am hoping to use Facebook to log into my application. The user is given 2 options, either he/she could log in using FB or else by registering with the system and login in to the application.
I browsed through the FB Graph API, and downloaded there sample application. It showed how to post a note to my wall. SO when i click on the Facebook button, i sign-in and then the page gets re-directed to the post-to wall view.
What i want to do is, to only Login to Facebook (Not Post to Wall). Is this possible ? Is there any tutorial or sample code which would help me do this ?

Facebook's Javascript SDK provides a method called FB.login that will do what you want.

What you want is the Facebook iOS SDK, specifically the Authentication section, for a native iOS app.

Related

Is it possible to have a Voice and Video call feature for a Facebook page messenger app that I created in my site?

I am working on implementing Facebook PAGE messenger for my site and I want to add a feature that I can call Facebook User who message my Facebook PAGE. I already search on google about this matter but still no luck. is this possible to do?
If not possible do you have any suggestion how can i call the Facebook User and how can I implement it in my site.
Thank you in advance happy coding
This is not possible using Facebook provided API's.
However you can send the user a Call button with your businesses phone number which they can one-click to call you.
https://developers.facebook.com/docs/messenger-platform/reference/buttons/call/

Can Facebook's Unity plugin be used to post to a product page?

I'd like to add Facebook sharing to a Unity app. The basic idea is to:
Create a Facebook page for the app.
Enable the users of the app to post screenshots from inside the app onto the apps facebook page.
The idea behind it is to have access to all posted screenshots by collecting them on the apps facebook page. Can this be done using Facebooks Unity plugin?
If yes:
Does the user first need to "befriend" (join) the apps Facebook page?
Does the app need to go through Facebooks review process?
If a user posts a screenhot to the apps page, is the screenshot then also visible on the users facebook feed or only on the apps facebook page?
Considering the nature of the questions it's obvious that I ain't a Facebook user. So your help is very appreciated.
Thank you.

Can Facebook SDK allow for iOS app (linked with a facebook app) to post directly to a particular page?

I am trying to make an iOS app integrated with the Facebook SDK that allows the user to post directly to a facebook group page and receive updates directly from the group page through the app, as an alternative to the facebook app.
I know that the Facebook dialog class in the latest SDK allows us to share a status directly to one's wall but I have yet to find a way to post it to a page other than the user's wall. Is there a way to gain access to a facebook group page and retrieve the posts from the page and also post directly to it?

How to post on friend's wall using facebook API without logging in to facebook?

After latest Facebook API changes, is there any way to post on friend's wall, using authenticated access_token?
I have tried using Feed Dialog, but redirects to facebook login page. I want to bypass the login step.
Unfortunately not. From the Facebook API documentation on publishing:
"Note: If you are posting to a friend's timeline or wall, you must use the Feed Dialog."
Full details: https://developers.facebook.com/docs/reference/api/publishing/
No,You Cant
Currently, Facebook allows to post by two ways:
Using FacebookAPI
Using Facebook SDK (depends on your requirement)
And in both these methods its must that you should be an authorised user to perform the action, authentication is a must.So you can't do this without a login.
NB: As per the Facebook Developer docs, graph API no longer works .(But I would like to add on that many of the iOS apps which used this service are still functioning well). So, I prefer to use Facebook SDK.
Hope my answer is clear.

How to post in facebook fanpage automatically from my website?

How to post in facebook fanpage automatically from my website ?
for example when i update new post in my website and i need to post in facebook fan page automatically....
I believe Facebook offers a certain number of APIs which would allow you to integrate Facebook into your own website to some degree; you can always try their dev centre.As far as I know, however, you can only post to Facebook through social networks like Twitter (see: linking a Twitter account to Facebook), or through Facebook apps you've developed yourself.
You need to create facebook app and use the app secret key and and API key in facebook SDK
script for automatic posting. for more details click the following link. I think this may help you. http://www.damnsemicolon.com/php/auto-post-facebook-with-facebook-sdk