Facebook get user status - ios

In my iOS application, I am trying to implement Facebook but am running into a problem. I currently have the user logging in as well as I have implemented the friend picker. I am looking to now have it so when the user taps a friend it will show their status(last post in their feed. e.g.."In NYC on broadway!"). I did a lot of research online but am getting very confused. If someone could point me to good tutorial or could just explain this that would be great. I believe I have to use open graph but other then Facebook's tutorials I can't find any. Are there any tutorials other than on FB?

You can access a user's feed by calling /<userId>/feed (https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Ffeed). Then, look for the first element on data array where "type": "status".

I think that the answer you're looking for is here, with the exception that you'll basically (I assume) display a list of friends with their profile pic. When clicking on the profile pic the user will see their status? Or you could try to do it all in once (friend name, pic, friend's last status). The facebook developers url they refer to in that post is here

Related

IOS send message through facebook

i'm creating an app that help people meet with new people , and i would like to give the user an option to send message through facebook to new people they see in the app , is there any way of doing it?
I tried to search online but I found nothing.
I need that the app will open a send message dialog or something like that , and the rest of the conversation will continue on facebook.
thanks for the help , and sorry if this question was asked and i didn't see it or understood it.
Related to this question:sending a private message to your friends via Facebook IOS SDK
But, you can find the information you're looking for at the links below.
https://developers.facebook.com/docs/ios/share
https://developers.facebook.com/docs/ios/ui-controls
Basically, if your user is logged in on your app with Facebook, then you have a few more tools/options to use to accomplish your task.
If your user is not logged in on your app with Facebook, then it is much more restricted.

Fetch Google plus news feed in native ios

i am working on ios app, and i want to fetch Google Plus news feed like friend list, user detail, in my ios app.
in facebook its possible to fetch the active user's profile feed, but for google pluse i didnot found any thing to show user feed.
if any one know how to do this for iphone application then please help me.
thanks in advance.
After you have signed in a user with Google, you can access the user's age range, language, public profile information, and people that they have circled.
If you request the plus.profile.emails.read scope, you can also get their email address. With this rich social data, you can build engaging experiences and an instant community in your app.
For example, you might connect your user with their friends that also use your app or you might make suggestions based on their friends' activities within your app.
Please look at Getting people and profile information

How to know if my facebook friends have my app?

i have a huge problem that i think you might solve in a second. I've tried thousands of different codes, but i haven't succeeded in none of them, some were using an old Facebook SDK for instance. My issue is simple, i want the user to know how many of his Facebook friends got the application, like that i could sent them a notification through my iPhone app. I found a field called fields=installed in the Graph API, but how can i code a method to know who are those friends, and how many they are.
You query the friends field /me/friends?fields=installed,name
Which will give a list of friends with either installed field set or not.
This SO answer could answer you question. Though we have to search through result for installed tag
It uses the new FB SDK

Facebook: "URL could not be liked because it has been blocked" error in iOS app

I'm working on an iOS app that allows the user to like a Facebook page within the app. I've implemented this using FacebookLikeView. During the course of testing this functionality, I've liked and unliked the same page multiple times. Unfortunately, this seems to have triggered Facebook's spam detection. Now, when trying to like a page using the like button displayed by FacebookLikeView, the following error is presented: "URL could not be liked because it has been blocked".
Based on reports of the same problem found by searching the web, I've filled out this form to request that Facebook remove the block. However, I've received no response from them. I'm not sure how to proceed. Has anyone else run into this issue and successfully solved it?
With billions of pieces of content being shared on Facebook every month and bad actors constantly targeting the people who use Facebook, preventing spam isn't easy. Just as a community relies on its citizens to report crime, we rely on you to let us know when you encounter spam, which can be anything from a friend request sent by someone you don't know to a message that includes a link to a malicious website.
From : Explaining Facebook Spam Detection
This is no answer and what Donn Lee said is maybe the best answer.
My best guess at this is to send them lot information regarding you testing the app rather than abusing the system. You could try screenshots, contact info and explain what you are testing it for.
Try : Facebook Help Center
Developer Help : Rate Limits, Restrictions and Disables
Try filing a bug on the Facebook Developers Bugreporter.
If it's been a week and the site is still blocked, submit your site on this form.
if it comes down to no other option, there is also unrelated contact info on Facebook Newsroom, including the e-mail address press#fb.com.

How should I show my app's icon on Facebook's friend list in iOS?

I am new in handling apps that will be connecting with Facebook.
I want to let my user log in my app with Facebook account and be able to send something, for example, a gift to their Facebook friends.
I want to get the user's friends list and which is very easy by using FBFriendPickerViewController. However, I want to have an effect that if their Facebook friend(s) is/are also using my app, the app icon will be shown at the right hand side of the user table cell (Just like some Phone Contact lists will show if the contact has Whatsapp/ Google+)
I have been searching through sites but still find nothing about this.
So my question is, is there any "official" way (using Facebook SDK method) to show the icon?
Or I have been thinking of another approach is that, I first get the friend list and then saved it, with the information that whether the "friend" is using my app or not. Then I create a custom friend picker view and check the condition to enable/disable the visibility of the app icon.
I can get the information by using approached of using GraphAPI fields or using external database, for which are mentioned in this , this and this .....
Anybody help?
Ok I end up with customizing my own table view... : )

Resources