Can we authenticate facebook user which view page in UIWebView? - objective-c

I work on application which provide bonus content for certain actions Facebook Share, Facebook Like of our page and etc.
I have problem with Facebook Like, as we know Facebook SDK ToS don't allow us (developers) to programmatically like Facebook page, so I have two ideas
Open the native Facebook APP, which is straight forward.
UIWebView within' our APP. But here is the problem
How to authenticate the user in facebook, to skip the inconvenience of double login. (The first time is within' our app, to be able to fetch the result of /me/likes/(id))?

I also faced the same problem for liking pages
i found this
https://github.com/brow/FacebookLikeView it is very help full go through this it shows how to like face book pages by using web view
hope this helps

Related

can I show Instagram's business account's media in a react native app?

I want to show my own business instagram account's photos in a react native app, user dont need to sign-in to watch those images. I only want to fetch a few images and show them in a list, if the user clicks on them he will be redirected to the insta app. If anybody know how to fetch images please tell in detail. I have tried facebooks documentations but they are difficult to follow.

Hiding the Address Bar of a UIWebView

I'm writing this app, in which I allow a user to use his Facebook credentials to login. As part of that FB login, I display a UIWebView to present the user with a FB login screen.
The UIWebView shows, besides the user/login UI, a standard Address/Navigation bar.
I think that is ugly, and I want to get rid of it.
Although I can imagine, that there is a good reason why it is impossible/discouraged (notably: spoofing), I would feel much better if I would be able to present the user only with widgets that are necessary for the scope of functionality.
I have Googled a while, but all I have found was irrelevant or outdated.
Can any of you help me?

Adding company logo to newsfeed sharing links

I have a native iOS & Blackberry App. You can create personalized videos.
When people share their video clip on Facebook, I would like the company logo and the accompanying link to go through to our website (not FB App page).
Instagram, Blackberry and Twitter all do this.
For e.g. when someone uploads an Instagram photo - it has the Instagram logo, with link to their website underneath the upload.
Do you know how I can do this? Any help would be greatly appreciated.
Thanks
First your Facebook app will need to request manage_feed permissions from the user. Once you have manage_feed, you can http POST the posting using the Graph API to put the stream item into their feed. See https://developers.facebook.com/docs/reference/api/post/ for further info.

How to integrate facebook fan page within an iphone app?

I want to integrate facebook fan page in my game with out leaving the game. And I also want to detect If any one like that app, I mean I want to detect "like" button pressed or not.I view this tutorial http://www.raywenderlich.com/1626/how-to-post-to-a-users-wall-upload-photos-and-add-a-like-button-from-your-iphone-app But there is only instruction to add the like button,but o detection if any one tapped the button or not.
Any one help me please.Sample code or tutorial may help a lot.
Thanks in advance.
Tamanna
The Facebook API on iOS is meant to redirect the user on the Facebook app (or website when the app is missing) in order to grant access for the like itself. This needs to be done at least once.
In order to gather information about who is liking what you can set up whatever log or backend functionality to the Facebook app that you have to create to activate the like functionality on your iOS app.

Facebook API with iphone

am new to iphone technology and i have been allocated on a project where i will be using an API of facebook so i have downloaded the facebook api from this link http://github.com/facebook/facebook-ios-sdk
and i read its documentation where i got confused this is what i want to do:
1) The image from the UIImageView must be posted by the user to his facebook album, and that album will be selected by the user from his/her account.
2) The user can add comment on that photo which he/she added.
3)Logout logic
But when i draged and droped the FBConnect folder, in the documentation its said that i have to set the header but how and what to set in the header i am not aware of that, also when i tried to do login with the appID and appKey which i generated from Facebook developers its not helping me at all
Please help me out, am confused on this topic completely, if you provide me some snaps of the source code or some links then it would be very nice of you
You might consider using ShareKit. It has made connecting to Facebook easier for some developers. You can find it at this link: http://www.getsharekit.com/