There is always *some* information available about a user via the Graph API. My app doesn't need more than that information so I want to avoid unnecessary API calls (like getting an access token).

Suggestion: Make $access_token optional in fboauth_graph_query()

CommentFileSizeAuthor
#2 fboauth_optional_access_token.patch774 bytesquicksketch

Comments

quicksketch’s picture

Sounds like a reasonable request to me. If you can make a patch with the functionality you're wanting I'll give it a review and include it in the project.

quicksketch’s picture

Priority: Normal » Minor
Status: Active » Fixed
StatusFileSize
new774 bytes

Even though I found you could just pass NULL into this function and it would work fine most of the time, this patch makes the access_token argument officially optional. Committed to both branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.