Does anybody know if you can actually pull done messages/comments from facebook into an iPhone app? Every app I see in the app store allows you to post to facebook. I have an app idea that includes actually seeing your friends messages and wanted to see if the SO community has seen anything like this before or if you are able to do this.
Yes, you should be able to do this; FBConnect lets you call all of the Facebook APIs, so you'd want to look at http://wiki.developers.facebook.com/index.php/Stream.get or http://wiki.developers.facebook.com/index.php/Comments.get. I haven't done anything with comments directly, but I do have an app that retrieves lists of friends, photo albums, and photos on the iPhone using FBConnect so I think this would be very similar, and it wasn't that hard to do.
Related
I have an Ios app , i'm trying to implement this flow:
User click a button->a list of my facebook friends appears-> i select one or more friends-> to each of this friends the app sends an invite to download the app from store-> i count and save locally the number of friends invited.
I have read documentation and the FBSDKAppInviteDialog seems to be the right choose. I have implement this solution and then i have discover this:
In ios 9 i can't switch in the fb app during the login
I can't know how many friends i have invited
The safariviewcontroller can't dismiss after an invite
The documentation is invisible
and maybe so on...
I have removed this FBSDKAppInviteDialog, it can't be a solution.
After hours i'm very frustrating, anyway i have see the candy crush app. It can send invites in in web browser,facebook app,mobile browers and it can select multiple facebook friends. Anyone know how achive the same result? I can replicate with Graph?
In ios 9 i can't switch in the fb app during the login
This is expected behavior, on iOS9, the Facebook SDK will fallback to a SFSafariViewController based approach for most of the dialogs
I can't know how many friends i have invited
As far as I know, the dialogs never supported this.
The safariviewcontroller can't dismiss after an invite
This seems to be a functionality SFSafariViewController doesn't support (dismissing it from within the loaded page).
The documentation is invisible
The documentation for the FBSDKAppInviteDialog works fine for me (https://developers.facebook.com/docs/app-invites/ios). If this is not working for you, it'd be a good idea to file a bug report at https://developers.facebook.com/bugs so Facebook can look into it and fix any bugs that might be present
I have developed an app for the iPad and iPhone that uses the camera to take a picture
Can someone tell me the easiest way to publish that to a users Facebook page?
Do I need to use the Facebook api's? I am not writing a Facebook app, just want to post the picture on the users wall.
Thanks
Would not make sense not to use FB API. There might be some other API that uses FB API itself but not sure about that..
I found a similar question:
question
Hope that helps!
I incorporated the new facebook sdk into my iPhone/iPad app update which just went live yesterday. Per iTunes connect 1100 people have already updated. My insights on FB are behind which I understand. However, when I go to my app's FB page it shows some of my friends using my app (not "liking" it, but using it). How can I get a list of ALL my friends using it, and of EVERYONE using it?
Thanks!
There is no way to get a full listing of your app's users - you'd need to store this in your own database. You can check if any particular user has authorised your app with a call to /[UID]?fields=installed in the Graph API using your app's access token or a user access token
As far as I know, you can't (for privacy reasons, I'm sure).
I have seen people trying, though: How to get all the user IDs of people who are using your Facebook application
I want to give sharing option in my app for sharing data, images, webpages, etc. with Facebook, Twitter, Email. What is best option for me?
I'm going through ShareKit that I have never used. Is it any good or do I have to try something else?
Suggest me some ShareKit like links.
ShareKit is brilliant.
Recently there's been an intermittent problem with Facebook's "Connect" API, which is what ShareKit uses. A lot of existing, deployed apps (including some big names) have been facebook-broken over the last couple weeks. Facebook claims to be working on it, and in fact my app that uses ShareKit IS working right now, but ultimately SK needs to move to the newer Graph API.
Definitely Sharekit is good idea to share data,urls and images(not to twitter) with Facebook,twitter and Email but you can't share images in Twitter.
I'm building a native iPhone app that takes a picture, does some funny stuff with it. I want the users to be able to tag their facebook friends on the resulting picture, similar to what the facebook app does. It seams that official facebook ios-sdk https://github.com/facebook/facebook-ios-sdk lacks this feature.
I wonder: is there some library or some advice that can help avoiding reinventing the wheel?
Simple go here:
http://developers.facebook.com/docs/reference/rest/photos.addtag/
and it will build a photo tag URL for you on the right hand side. All you have to do is send a GET request with NSURLConnection, Apple has an example on how to send GET's and POST's:
Here is Apple's example