Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Add ability to fetch and refresh UserProfile. #33

Merged
merged 1 commit into from
Jul 27, 2016

Conversation

nlutsenko
Copy link
Contributor

New APIs to fetch and refresh UserProfile.
Tested via a small test app - works as intended, as well as updates the current user's profile.

@nlutsenko nlutsenko added this to the 0.2.0 milestone Jul 26, 2016
@ghost ghost added GH Review: review-needed CLA Signed The Facebook CLA has been signed labels Jul 26, 2016
@nlutsenko nlutsenko added the enhancement Adds a feature or improvement label Jul 26, 2016
- parameter completion: The closure to be executed once the profile is refreshed.
*/
public static func fetch(userId userId: String, completion: Completion) {
let request = GraphRequest(graphPath: "me",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be "userId", no?

@nlutsenko nlutsenko force-pushed the nlutsenko.userProfile.fetch branch from 607627f to 3048f23 Compare July 27, 2016 21:10
@nlutsenko nlutsenko merged commit 0f03274 into master Jul 27, 2016
@nlutsenko nlutsenko deleted the nlutsenko.userProfile.fetch branch July 27, 2016 21:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed The Facebook CLA has been signed enhancement Adds a feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants