I want to post Images and Video on my facebook wall. Some of the tags are deprecated which we are using for posting data through ios sdk of facebook.What are the new tags for posting images on facebook ?
Thanks
Check out this links.
These links are for posting video and photo in your facebook wall and it is updated too..
https://developers.facebook.com/docs/reference/api/photo/
https://developers.facebook.com/docs/reference/api/video/
Related
I found many online tutorial about how to post image to Facebook using Facebook iOS SDK, but i'm looking for a way to get posted image id. Is it returned with callback methods(if yes, then with which key) or is it even possible to get posted image id?
When successfully uploading the image, you are given the url of the image (key:uri), you could work out the image id from that i guess.
Having the image url should be enough to work with.
I wish to fetch images from Instagram into iOS app. For this I am using Instagram API. I have set clientID and redirect-uri as shown in http://kmdarshan.wordpress.com/2013/02/23/integrating-instagram-sdk-in-your-ios-apps/ and http://instagram.com/developer/
Code used is given in link above. But in the line:
if ([[UrlParts objectAtIndex:(1)] isEqualToString:#"NeverGonnaFindMe"]) {...
the string always equals to oauth.
Where am I getting wrong? Anyone having any other option to integrate instagram images into iOS apps, please let me know.
I just found a project to fetch instagram images into ios app on:
https://github.com/hsandhu/HSInstagram
Awesome application, saved my time.
you can try this framework to show the instagram feed, both user and tags
https://www.cocoacontrols.com/controls/sbinstagram-viewer
is more complete and is easy to integrate
regards
I am sharing images from my iOS app to instagram. I am posting image and captions in the request and that is working fine.
Now what I have to do is that I am sending some image link as caption. When I open the instagram, those are posted. But I need to show it as clickable link. How this can be done? Does the instagram API provides this functionality or I need to do some thing from my app? Please help me to solve this issue.
Thanks and regards,
Sreelash
According to their blog post, no prefilled captions are possible anymore.
I would like to post on friend wall using the native post dialog and the latest 3.5 iOS SDK. It seems like Facebook simply didn't supply any method to handle this thing.
I am looking at this method (all the supplied methods with this signature:
[FBDialogs presentOSIntegratedShareDialogModallyFrom...]
and see no way of posting on friend's wall.
Does anyone have some insight on this?
You can't post to a friends wall using the iOS share sheet, which is what presentOSIntegratedShareDialogModallyFrom... is a wrapper around.
Generally, when we post a photo to Facebook using the Facebook iOS SDK, it automatically goes into a photo album named after the application. For example, if the Facebook application is called "MyApp" then the photo gets saved to the photo album 'MyApp photos'.
However, as of two days ago, an app that we are working on has started behaving oddly, with all the photos posted through it being saved to a 'DifferentApp photos' photo album.
The photo is still associated with the correct app because underneath the caption it still says 'X minutes ago via MyApp' and the MyApp link goes to MyApp. For the life of me, I can't work out how 'DifferentApp' came into the picture.
The code that posts the photo hasn't changed but for what it's worth;
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:img, #"picture",message,#"caption",nil];
[appDelegate.fbObj requestWithGraphPath:#"me/photos"andParams:params andHttpMethod:#"POST" andDelegate:self];
What has changed is that we are now forcing the Facebook SDK to authenticate via in-app webview rather than by switching to the Facebook app (see Disable Single Sign On (SSO) in Facebook IOS SDK)
A few other points to consider;
If we delete the 'DifferentApp Photos' album and then post a new photo, the photo gets saved in a another album, i.e. 'ThirdApp Photos'
We registered a whole new Facebook app and posted photos through that - the photos still go to the wrong album
Any thoughts/ ideas would be greatly appreciated.
Check the photo id which comes in the response after calling me/photos on the graph API and you might notice the same thing I did. And now, for the rest of the story :-)
I ran into the same issue with newly created Facebook apps while apps I created months ago still allowed me to upload pictures to my wall & associated photo album without any issue.
Surly the photo was getting uploaded to Facebook since a valid response was coming back with the photo's id however turns out if I append the newly uploaded photo's id to http://www.facebook.com/photo.php?fbid= the photo would show up but in an album which couldn't be deleted nor was accessible in my list of albums. (The album was named after an iOS app which used Facebook Connect, I made over a year ago)
After more hacking and whacking I decided to log into my iOS app with another Facebook account which hardly has any data. To my surprise I was able to successfully upload a picture to the app's album and see it appear on my wall.