Just do a generic call to get the photos for all albums.
might have to select the albums first, then go after the photos for each album. right now all my photos just post to a single iphone album, but soon I will add the ability to create albums. So I need both.
I will post code to, when I figure it out.
Documentation is usable but not great, FQL is a lot like normal SQL so its not to hard to figure out.
The functions return in most cases a NSDictionary Object.
Just do a generic call to get the photos for all albums.
might have to select the albums first, then go after the photos for each album. right now all my photos just post to a single iphone album, but soon I will add the ability to create albums. So I need both.
I will post code to, when I figure it out.
Documentation is usable but not great, FQL is a lot like normal SQL so its not to hard to figure out.
The functions return in most cases a NSDictionary Object.
Hi,
I agree about the documentation and samples not being that great.
I agree about the documentation and samples not being that great.
I need to implement friends.get and photos.get.
Lets see, will be working on both this weekend.
Will keep this thread updated.
Cheers.
Someone came up with friends.get , seach this forum, I don't remember exacly who.
As for photos.get
I am 99% done with the codeing, I'll post something over the weekend.
Basically I use fql to get the albums
Display the albums in a uitableView
Then on the objectAtIndex.row.index I call fbconnect passing the uid or aid and the album id. Then display the result set from the NSDictionary in a thumbnail view created using three20 library.
Basically i need to upload a photo in uncompressed format to facebook, and also need to download from facebook.
for the upload part, i can use the function given by michelle.
But this method is not standalone right? It needs the FB Connect classes?
Yes it does.
You need to go to the facebook developer site on facebook.
And follow the iphone info.
You get a developers key and you need to set up a simple facebook app, there is a wizard that walks you through the creation, it quick.
Than you can download the sdk, the examples are very good, follow them. The image code above is derived for there. Than you need to either bring the facebook connect classes in your project, changing the headers as appropirate or statically include the library. I perfer the former but some people don't like bringing in full libraries. I personally take the time to find our what every piece of code my app does. Better to avoid rejections that way.
Once you do that look at the 2nd through 6th or so post on my blog it will give you a major headstart.
As for getting images - you could use the fql like above to download them, or you could just implement a copy to photo album, which I haven't seen before , so I am sharing something I think is unique in my code.After all its christmas, check the blog for how to do it.
1st of all thank you so much for spending time to answer though the post is old
2nd of all at this point i have no code and what was written was upload only
i have a problem i don't want to upload ,here is what i want to do ::
i wanna be able to get the profile picture of my own and my friends that's all for simplicity let's talk about my own photo how can i do that what should i write in the query and in the request?????
for example if you have played the game who has the biggest brain you 'd notice that they displayed the profile pictures of you and your friends with scores sorted....
thank you for your time a lot ......
1st of all thank you so much for spending time to answer though the post is old
2nd of all at this point i have no code and what was written was upload only
i have a problem i don't want to upload ,here is what i want to do ::
i wanna be able to get the profile picture of my own and my friends that's all for simplicity let's talk about my own photo how can i do that what should i write in the query and in the request?????
for example if you have played the game who has the biggest brain you 'd notice that they displayed the profile pictures of you and your friends with scores sorted....
thank you for your time a lot ......
hello .... hope you are done with your task.... i have a little similar to this problem i.e. i have an image and i want to set that image as a user profile image any idea how can i do that ??? or i have an image url and want to update the profilepicture url ???
Hi Michelle-
I realize that this is kind of an old forum topic, but I had a question for you.
Have you seen anything like these examples for the video.upload method call?
I am having a terrible time trying to implement it one of my apps. Any help would be appreciated.
The following wrapper class is easy to use and the best thing about this is that you don't need to change xcode settings every time you want to incorporate FB Connect Api in your project.