Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Facebook Module Problem

$
0
0

Hi, I'm implementing the new facebook module but it doesn't work.

What I did is

var fb = require('facebook');

fb.appid = [FACEBOOK_ID] // I did wrote my app id

fb.permissions = ['publish_stream', 'read_stream','email','user_birthday'];

fb.forceDialogAuth = false;

fb.authorize()

I also added the property on the tiapp.xml

<property name="ti.facebook.appid">[FACEBOOK_ID] </property> //With the right app id!

It opens the facebook app (or facebook mobile web if the app is not installed) and then it ask for my permission showing me the name of my app, but after I accept it does not open my app again, it just show a white window in the facebook app

Any help? I'm using Titanium 3.2.1 GA, iOS 6.1


Viewing all articles
Browse latest Browse all 8068

Trending Articles