iOS Facebook SDK post to friend's wall using standard dialog - ios

Is it possible to post on friend's wall using the standard feed dialog or I have to create my own dialog for this?
UPDATE:
I know that it is possible to post to a friend's wall directly using requestWithGraphPath. But I'm trying to figure out if I can use the facebook dialog for this. For example Draw Something seems to be doing just that (see screenshot below). However, I tried sending 'target_id' as well as 'to' and neither works. Does anybody know how to do that?

I found the solution. Just add "to" parameter with ID of the user you want to post to. I tested it works.

UPDATED ANSWER :
facebook annaunced that by 6.06.2013 it will not be possbile to post a friends wall via GraphAPI
https://developers.facebook.com/roadmap/#february-2013
Removing ability to post to friends walls via Graph API We will remove
the ability to post to a user's friends' walls via the Graph API.
Specifically, posts against [user_id]/feed where [user_id] is
different from the session user, or stream.publish calls where the
target_id user is different from the session user, will fail. If you
want to allow people to post to their friends' timelines, invoke the
feed dialog. Stories that include friends via user mentions tagging or
action tagging will show up on the friend’s timeline (assuming the
friend approves the tag). For more info, see this blog post.

This seems to be a very similar to iOS Development: How can I get a Facebook wall post to show in the friend's news feed?
Maybe that will help, as I think #kgutteridge has the right answer.

Related

Facebook POST using Graph API from iOS app

I have successfully implemented FBGraphAPI in my iOS app. Here, after logged in , the FB app(I created earlier & gave the app ID in my code) installed and I can POST text or others(image, file etc.) on my wall with the app name. Just Like below,
MY_PROFILE_NAME
about an hour ago via APP_NAME.
Now, I want to POST this same 2 same with MY_PROFILE_NAME & APP_NAME but not on my wall. I want to POST it on another specific wall. This means that whoever log on through my app with their ID and make POST, will be POSTED on that specific pre-defined wall.
I don't know that is it possible or not ??? Plz, help me out...
You can't anymore. Facebook removed the ability to post to friends walls via Graph API:
https://developers.facebook.com/roadmap/completed-changes/#february-2013
Removing ability to post to friends walls via Graph API
We will remove the ability to post to a user's friends' walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail. If you want to allow people to post to their friends' timelines, invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag). For more info, see this blog post.

Twitter Framework on iOS - Posting Tweets

Since the Twitter Framework handles the login authentication, does that mean I can freely post a tweets to the user's wall?
Since logging into twitter through the settings page gives permission access to all games, what if some games abuse it and spam a user's twitter page? If the user gets spammed and wants to block only that game, is that possible?
My game will be doing automatic posts whenever a user accomplishes something, should I be asking for permission every time before posting a tweet? or should I simply post a tweet and hope it's not seen as spam?
You can show the tweet dialog to the user, and that would post it for you. It is fairly easy to do this, here is a great tutorial for how:
http://www.raywenderlich.com/21558/beginning-twitter-tutorial-updated-for-ios-6

Where should I post photos to get Facebook id and to be able to like them from iOS application

Here is my task. I have some images/photos, you can view them in my application also you should be able to like/unlike them and see how many other people have already like. I use iOS SDK for logging in with Facebook credentials.
To like some object or get it likes number you should have some facebookID. So my question is where should I post my images to get that ID?
I have found two ways of solution my task.
First one is to use iOS Facebook SDK. Then you have to post your photos and video somewhere to get IDs. I use special facebook page to contain all my content.
The other one is to use Facebook Open Graph. For this approach each content item should have a separate page with facebook tags. To like is you should use POST request like this:
me/og.likes?object=http:\\url.to.your.content.item

How to have a FB application create a personalized post to a user

I've read over some of the developer material and have not seen a way to have an application send facebook users personalized wall posts. For example, FB users who likes "Mustangs" could receive a post from my application when there is news specifcally about Mustangs. However, FB users who didn't select Mustangs would not receive the post. Is there a way to do this on the FB platform for applications?
FYI - The only success I have had is sending a post to a user which appears to have been sent from the user as if the user is posting to themselves. Only upon close inspection can one find the text "via application xyz" next to the post time.
Thanks for taking the time to read and respond.
Yes, you can do this with any of the frameworks. See https://developers.facebook.com/docs/sdks/ Also study up on the Graph API (pay attention to the from attribute of a feed item, testing it out using the graph API Exporer: https://developers.facebook.com/tools/explorer

How to get friends wall information through FBGraph or FBConnect?

I am Using FBGraph API of Facebook for iPhone, here i get friend list, my profile, my feeds and other values but how can I get My Friends Wall Data through this API.
My Question is that How can i Get My Friends wall information though this API for iPhone.
The documentation covers this:
See the "feed" section on this page for details.
e.g. https://graph.facebook.com/123456/feed
where 123456 is the user id
Note. You'll need to ensure you have the read_stream permission.
https://graph.facebook.com/user/feed i think this is the graph path for getting feed info.

Resources