Open 7daysofrain opened 11 years ago
i get this error:
I have the same error as xleo77. Looks like this project isn't terribly active.
Hi jglanfield! Are you trying to build and run this sample? Or you are trying to implement it in your own project?
Sorry... got it working. I was trying to use it in my own project but missed the connections in the SocialConnector.cpp code. All good now :)
Also, this isn't an "issue" per-se, but is it possible to have a user log in via the native facebook app as opposed to a web page? Where should I post a question like this?
I have never tried it. But you can try to use invocation framework: http://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/facebook.html
Also, you can ask your question on blackberry developer forum: http://supportforums.blackberry.com/t5/Native-Development/bd-p/Cascades Regards, Vlad.
OK, will do.
Ok, I've done that. Regardless, how does the callback URL work? I've set up the facebook app so that the "Valid OAuth redirect URIs" field includes "http://localhost:61793/" as suggested in Facebook.cpp. But even when I log in and grant permissions to my app, it never redirects back. I just get the "Account linked, go ahead back to the app and check the status!" message.
Hi, authorization process take place in browser (separate application). After you have success login to facebook, the browser will redirected to http://localhost:61793/. Your application is listening on that port. It takes fb token from request (to use later) and shows "success html page" (you can find this page in your project and you can change it as you need). All that you have to do later, it to close browser and use you application. Now it have token and able to work with facebook server.
Im trying to use this but i didn't manage to do it. Can you put a simple use example? When i try to build tells me that i need some libraries like QByteArray.
Thanks!