how to display profile pic for facebook using sharekit, iphone - iphone

I need to publish users profile pic that is available in facebook in my iphone app.
Can you guys please suggest how to make this done using sharekit.
Thanks,
Chaitanya.,

I don't think ShareKit is made for that purpose. The idea is to enable sharing on multiple platforms. For getting the profile pic, you will need to use Facebook's official iOS SDK.
The relevant graph API would be:
https://graph.facebook.com/username/picture

There is no graph API for updating the profile picture. You can only retrieve it. However, it is possible to update it, check out this app.
The general approach would be to do a straight up POST to Facebook with the image and the crop dimensions for the final profile picture. However, since that isn't an API-based approach - your code will be brittle.
Sharekit is not the way to go for Facebook profile pictures, but you CAN update a Twitter profile picture with it.

Related

Facebook Unity5

I need to link my unity app with Facebook, my game pulls data from a website, will it be possible to put it on facebook? Is there a way to also save the game status via facebook?
Yes you can link your app with Facebook. Have a look here at the SDK Facebook provides. Also have a look at this tutorial they provide. Think it has some mention of dealing with game status' via Facebook. Also this script shows an example of saving a score around line 126.

Post picture to Facebook from iPhone/iPad app

I have developed an app for the iPad and iPhone that uses the camera to take a picture
Can someone tell me the easiest way to publish that to a users Facebook page?
Do I need to use the Facebook api's? I am not writing a Facebook app, just want to post the picture on the users wall.
Thanks
Would not make sense not to use FB API. There might be some other API that uses FB API itself but not sure about that..
I found a similar question:
question
Hope that helps!

Profile Cover Editing via Facebook's Api

I know that this question was raised out several times,
and I even read most of the questions regarding the topic.
But there was a gap of about a month till now, and I'd like to know if there is any process in changing the Timeline Cover picture from the api(via an app).
Do you know any new information about this?
Or is there a solution out there? (except for uploading to cover folder)
Thanks in advance.
In fact, thereĀ“s no API support for it, but you can upload a photo and then redirect user to:
http://www.facebook.com/profile.php?preview_cover=PHOTO_ID
There is currently no API to change the cover photo; i'm not aware of plans to change this
facebook does not allow an app to upload a picture to the profile album. that is sort of a security restriction and will apply to cover images too, i guess. so you can upload a picture to a new album or any other album, but NOT the profile or timeline cover album.
i doubt that facebook will ever change this, unfortunately.
Profile Timeline is not yet released for all, so maybe we won't be getting any access via graph api until facebook releases timeline for all.

Uploading pictures to Facebook from iphone app

I'm currently using facebook to post text in the user's wall. I'm wondering if it's possible to post pictures, such as screenshots from my app for example, in the posts, because someone explained me that currently it's only possible to attach pictures from an URL to the post, and not any picture from the iphone.
It's also possible to upload pictures to the user's facebook album ?
Thanks.
I don't for sure how to do it, but the Facebook SDK Api would probably support what you want.
http://github.com/facebook/facebook-ios-sdk
The opensource ShareKit framework - http://www.getsharekit.com/
Does this successfully and easily - You can publish a photo to your wall, and it is added to an album as well.
Great stuff...:)
Oded.

Publish picture to Facebook from my iphone app

Who can explain step by stem how to publish on the Facebook user account pictures and albums from my iPhone app?
I know about FB iPhone sdk, but cannot understand the whole process.
1. Should I register application on the FB?
2. Can I publish my local pics, or must use links on the previously published pics on hosts like yfrog.com.
3.etc
Yes, implementing FB iPhone SDK for the first time is subject for a book...
Have you seen this video?
http://vimeo.com/3616452
It's a little outdated, but it was a good help for me to begin understanding the whole process...
As for question 2., I believe you can upload and publish the picture to FB user account, if you request the appropriate permissions.
You can also try ShareKit: http://www.getsharekit.com/
It makes things real easy :)