Posting to a specific facebook user's timeline from ios xcode - ios

I'm trying to figure out how to post from xcode to a specific user's timeline. I found a lot of posts but they seemed to be for older versions of the facebook sdk.
I'm looking here:
https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.4
And the only option I'm seeing is to use url redirection.
I'm looking here for options here:
https://developers.facebook.com/docs/sharing/ios
But I'm not seeing any way to specify it to post to a different user's timeline.
So is the url redirection the only way to do it? What I want to do is press a button on my ios app, and then have it post to a facebook wall. If I use url redirection, it will open up a browser... do the posting and then redirect somewhere... where I assume I will have javascript code to close the browser.
Are there any other options? Thanks.

You can only post to the timeline of the logged in user. Posting to the timeline of one or more friends of the user is not supported.

Related

How to create dynamics Link that shows up in Twitter feed?

I've tried to create a dynamic links with branch.io to redirect to my mobile app but i encounter some issues : The tweet is not visible neither in general feed nor in notifications mention of the target user. However when i tweet with a normal url it's okay no problem.
Any solution ?
That's very strange! What's the Branch link URL you're sharing on Twitter?

How to display Facebook post in native iOS app?

How do I display a Facebook post in a native View in an iOS App? Is there something like TweetKit for Twitter (https://dev.twitter.com/twitter-kit/ios/show-tweets)?
If not, how can I fetch the data for a Facebook post? Is this possible without logging in?
Without login, you can't get any information regarding the facebook.
I think this link will help you
https://developers.facebook.com/docs/sharing/ios
Good luck

Facebook Comment integration iOS

Does anyone has already succeeded integrating facebook comments in iOS ?
I am making an app for a blog and I simply want to integrate facebook comment
I tried the UIWebView way, but it doesn't show anything in iOS 6. I tried a lot of thing to make it work, but I stopped when I saw that it doesn't show up in the web view of the twitter app.
I also tried to integrate the SDK, although it's impossible to publish comment (error from the api), I tried at least to retrieve all the comment attached to an URL, but as it's not possible to join table in FQL, I would have to,for each comment, retrieve informations about the user that has posted the comment... Silly !!
Am I the only one Facebook cursed ?
I have not been able to do this either so at least two of us are cursed. It would be great if facebook allowed you to use the facebook comment box to comment on facebook posts. I for one do not find working with the facebook API documentation very helpful.

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 download Facebook page posts

I am an iOS developer and I am writing an app which needs to take statuses from my Facebook page and and display them in my app.
Does the Facebook API support that?
If it does, can anyone give a link for some tutorials or explain how can I make this?
I know that API supports an RSS feed but i don't found how to feed my statuses.
If you're using a Facebook page, you can easily use the graph API to query for posts made by that page. For example, for Starbucks:
http://graph.facebook.com/Starbucks/posts
You can simply load this in your browser to see the format the data comes back in, and all that's needed to access this data is a simple HTTP request. You can replace Starbucks with your Page's ID or username to get your Page's posts. These come back in JSON, which should be fairly easy to handle on your end.
Yes, the Facebook Graph API allows you to access your profile and extract any information you'd like from it.

Resources