Reputation: 6627
Does someone know the API for updating user profile information on facebook? I want for instance to change my location from my client application. Is that possible?
I am using Facebook C# SDK, but an example in any other language would be great.
Upvotes: 0
Views: 1486
Reputation: 6304
I do not believe they support updating a user's profile information from the exposed Facebook API. The Graph API documentation currently states that only the following elements are editable (editable as in, you can create them):
As you can see, the User object is not one of objects Facebook exposes for edit purposes. It does support the ability to publish location checkins, however. While this does not meet your goal of modifying the location attribute of a user's profile, it does provide some basic abilities.
POST https://graph.facebook.com/<profile_id>/checkins?
access_token=<access_token>
&coordinates={...}
&message=my+message
&place=<page_id>
&tags=<tag1>,<tag2>,...
See the checkin documentation for an example using curl. This example should be executable by any platform specific Facebook API (Java, C#, etc..).
Upvotes: 4
Reputation:
You can't update informations from the API. All you can do is reading / searching / posting / deleting / analysing data. You can find everything there.
Cheers
Upvotes: 1