I'm trying to get infos from a public page, but can't get anything, it says always that I need an access token. How can I retrieve public info without asking the user to login to Facebook?
var request = "1537823733106575?fields=about"
let graphRequest : FBSDKGraphRequest = FBSDKGraphRequest(graphPath: request, parameters: nil)
graphRequest.startWithCompletionHandler({ (connection, result, error) -> Void in
if ((error) != nil)
{
// Process error
println("Error: \(error)")
}
else
{
//println(result)
}
})
Here's an example code, I'm using Facebook SDK 4.01 and Swift.