I have a website which uses the web(Social) plugin for facebook comments for each post/article on the website.
On my iOS app, the same are presented in a webview.
The users on the app are logged in with Facebook but I can't find a way to enable them to post comments.
I looked up the OpenGraph documentation but it doesn't say anything about this.
How is it possible to maintain a relation between the facebook object on the web and the app and how do I show the people the option to comment?
Related
I am working on a app which has the user feed of posts and I want to post feed post on facebook just like instagram do and if user will clicks on facebook shared post user will redirect to app or appstore, we are not using any post hosting server.
To implement this feature I found this url from facebook and I successfully got the object:
{
"canonical_url": "url",
"id": "643402985734299"
}
here I am facing problem to share my post with this given object please help.
I recommend using a deferred deep linking service like Branch which is free to use. You'll be able to generate links that work from most other apps including Facebook. You can start by implementing the iOS SDK.
In terms of sharing, you should be able to use the Facebook iOS SDK to add functionality for sharing pieces of content directly to Facebook. If you embed a Branch link as the contentURL you'll be able to link to the content in your app regardless of whether the app is installed.
Branch already leverages App Links for you so you do not need to do any specific handling just for Facebook.
I want to integrate facebook deep kinking with my application.
I search out for related documents and examples, but could not find.
This link (facebook developers) only describe Handling incoming links , Adding back navigation.
Which I want to find, how to post on facebook using facebook deeplinking.
I also include images in my facebook post , when user click on that image then If my app already installed in device then open app ,not installed then open app store.
First of all, You have to enable Deeplinking From your Facebook App
After setting up your Facebook app, You can share Image on Facebook with Facebook SDK, Facebook Ref:
You can also pass extra parameter for Deep linking with Facebook Graph API Check out similar link, That will help you
I've successfully connected in Facebook using Social Framework, also able to get list of my friends. However, I need to invite friend to use my app, I have been reading some articles and stackoverflow, that this need to use Facebook SDK.
Now, I able to achieve this using Facebook SDK. but then I need to re-logging (show pop up or direct to FB app). What I want is, to use session or outhToken that I have while I connected using Social Framework and use it in Facebook SDK. what I know, I have outhToken already. how to use this maybe to pass in FBSession or whatever class object to show app request ?
below is sample of app request.
For those who stumbled this question,
Facebook now remove graph API to grab friends that doesn't install the app. hence we cannot invite friends who doesn't install app.
even using Facebook SDK. if anyone has better solution or any updates on this, please share.
Is there any library to implement facebook comments box into an iOS app? I don't want to use comments plugin in uiwebview since I need to create/modify/destroy comments based on facebook object id. I already set up facebook single signon using facebook sdk for iOS. I know how to implement (and already have) this feature using facebook graph api. I was just wondering if something ready to use with ui and everything else is available.
I need to add the 'Share' on Facebook and Twitter buttons to my iPhone app. Before I get any further, do I have to go register on Facebook Developers, under Mobile Apps, in order to get an App ID (and then implement the Single Sign On)? How about Twitter?
First of all you need to register your app in facebook and twitter under development
For twitter go to this http://dev.twitter.com and for the facebook go to this http://developers.facebook.com/docs/guides/mobile/
when you register your mobile app you will get api key go to http://www.getsharekit.com . here is the open source api for share item (text, image , file , link ) to share on facebook , twitter and many more.
just check it.
Thanks
Yes, you do need to register with Facebook and be issued an App ID. Without this, you won't be able to do very much at all with their API. All the information you will need is available here:
https://developers.facebook.com/
...as well as the facilities to create your app and App ID.
If you are intending to use Facebook and Twitter official SDK, you will have to get ID from their respective developer console. For Facebook the official SDK can be downloaded here and for twitter the official SDK is here.
Updated : From iOS 6 onwards, you can use Apple's own Social Framework to share with Facebook and Twitter.