Community Questions & Answers

Facebook log in on iOS 8 seems to be broken

The following code: ~~~ var fbmod = require('facebook'); fbmod.appid = 1376404972593019; fbmod.permissions = ['read_stream']; fbmod.authorize(); fbmod.addEventListener("login",function(e){ fbmod.reauthorize("email",...

Titanium com.facebook.sdk error 5

Hi, I have some code trying to post a message and a photo to Facebook after user has been authorized in my app. I was able to post a status with no issue but doing this with photos gives me the com.facebook.sdk error 5 alert. here's some code: ~~~ var fb...

com-facebook-sdk-error-5 login error

I am having trouble logging into facebook from a specific device using a username and password. I get the error: [10:12:25] iPhone mc_mobile_tunnel[1672] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down. <Warning>: Error: HTTP status...

Facebook authentication module and Alloy

Loaded the module, added the tiapp.XML code with property. alloy.js ~~~ Alloy.Globals.Facebook = require('facebook'); ~~~ index.js ~~~ // Don't forget to set your appid and requested permissions, else the login button // won't be effective. var fb =...

Modules.Facebook is missing publishInstall()

According to the [docs](http://docs.appcelerator.com/titanium/3.0/#!/api/Modules.Facebook-method-publishInstall), the built-in Facebook module for Titanium 3.1+ has a method called `publishInstall()`. However, I am using version 3.3.0.GA and this method...

Image upload to Facebook (nothing's happening)

Hi, trying to upload an image to Facebook, nothing seems to be happening: I have confirmed that the image is saving out to a blob (in case anyone is wondering) ~~~ // get facebook integration in var fb = require('facebook'); fb.appid = <my app id,...

Connect user to fb

i got a question! i've made an app for ios and android with Titanium Users can register and login with email or facebook, and all work great I got a view called fb friends where fb friends who got my app is listed, but when you are logged in with e-mail i...

Facebook module's login event not firing

Just as the title suggests, the Facebook module's login event isn't firing. Works in the simulator however the simulator doesn't appear to be using the iOS 6 built-in Facebook functionality. Here's an example of the code I'm using: ~~~ if...

Facebook apprequests on iOS

Hi there, I'm using the SDK 3.2.2.GA on iOS 7 and all my Facebook interactions work just fine. However, I just cannot get the apprequests dialog to work. Here's some code: ~~~ buttonInvite.addEventListener('click', function(){ var data = { ...

Facebook module problem with iOS 7

Hi, I'm developing a mobile app for iOS 7 and I use my own iPhone to proceed all tests. I'm trying the add a Facebook connexion possibility and everything work fine until I accept the application. I don't know if it's my code OR Facebook but it's not...

Facebook Like

Hello I'm posting this question which appears not to have been answered before. Is it possible to create a Like button in a mobile application, maybe with the OpenGraph protocol? The Titanium SDK documentation has a few good examples on how to create an...

Facebook Login Not Working (Android)

Hi, I'm using very simple code on my Android app to login a user to Facebook. What's wierd is the very first time I tested on my device it worked. Since then nothing happens. I can see via the debug that the call to authorize happens but none of the...

ACS sessions and expiration

Hi, I'm new to ACS and Titanium in general, and have some questions around user sessions. Any help will be appreciated. When a user logs in via ACS, how, and most importantly, how long is the session persisted? Can one control this setting per app? If...

Get Logged in users FB Profile Picture

Hi all, I'm trying to display the profile image of a user that has authorized Facebook through my app. I created an image view with a default icon and once the user authorizes Facebook it should update to their profile image. ~~~ var fbUserIcon =...

Facebook Module

Am using 3.2.2.GA SDK, Alloy and mobile web and Is it possible to use facebook module of titanium for mobile web development. I think it supports Android and iOS only. if required for mobile web, how we can embed facebook login in appcel. Any suggestions...

Facebook Login/Logout events are not firing

I see that this question has been asked multiple times here and in JIRA but it was never been answered. The issue is that facebook "login" and "logout" events are not firing. Here is the code: ~~~ var fb = require('facebook'); fb.appid...

Android - Facebook Module don't work!!

~~~ [ERROR] : FacebookModule: (main) [38143,71824] LoginDialogListener onFacebookError: The connection to the server was unsuccessful. [ERROR] : FacebookModule: com.facebook.android.FacebookError: The connection to the server was unsuccessful. [ERROR] : ...

Showing 1-50 of 1,029 1 2 3 4 5 621