Reputation: 1072
In my app, I need to put a Like button that will make the user Like a specific link. The link is not a Facebook Post.
currently I'm using the FBConnect Library hosted here https://github.com/facebook/facebook-ios-sdk
That lib uses the new SDK with OAuth.
I have tried various things but none have worked so i have no useful code to post.
My objective is simple: "Like" a link.
How can I achieve that?
~Thanks in advance.
Upvotes: 0
Views: 1332
Reputation: 50727
You can use a UIWebView and place the "Like" button code in an HTML document. Has worked fairly well for me.
This will also allow you to customize the UIWebView to have a clear background, no scrolling, etc. as well as CSS to match any color scheme your app may have.
Upvotes: 2
Reputation: 1986
Liking is not available via API, and as far as developer discussions on facebook said, it wont be available in near future. Sorry to tell you that.
But you can try to alter your idea, just post your URLs to the users profile.
Upvotes: 1