Community Questions & Answers
Listening to Facebook window's open, close, focus, blur events
Is there a way to listen to the Facebook login window's `open`, `close`, `focus`, and `blur` events?
fbsessions should only be used from a single thread - Facebook module 3.1.0
Hi! I just updated Titanium and installed the iOS Facebook-module. I have a loginWin that authorized my fb-app and create a ACS-user. But now, when I have configured my code for 3.1.0, I always get this error: "fbsessions: should only be used from a...
close button on facebook button
Hi, I have a problem, close button on facebook popup doesn't fire any event. is it a bug ? iam display transparent (width opacity 0.5) view behind the popup and when i close facebook, it should disapear.. im using sdk 3.1 my code : ~~~~~ var fb =...
Facebook Single Sign On with FB app installed on device give white screen
I'm trying to implement the Facebook module in a Titanium Alloy project to allow users to share content. When I authorize on a device where the facebook app is installed, it opens the facebook app, but then it gives the following white screen and nothing...
Facebook reauthorize keeps gettign called
I'm not sure what I'm doing wrong here, any help with the Facebook authorize and reauthorize process would be greatly appreciated. When a user presses a button, the following function is called: ~~~ var fb; var facebookLogin = function(){ fb =...
Facebook Module 3.1 part of Alloy Authorize on Device 400 error, Simulator works Flawless
I'm working on an Alloy 1.1.1 Project with the new Facebook Module. I have a simple Facebook authorize command that is called and it authorizes the user on the application. This works 100% of the time on the simulator. Once I take this to device, it...
Facebook 3.1 iOS module opens Safari on reauthorize(['publish_action'],...) call
Facebook 3.1 iOS module opens Safari on reauthorize(['publish_action'],...) call. As you can see -- writing permissions asked there. The question: is it should be like that? I expected some iOS 6 native dialog, as it appears for reading permissions. Can't...
Problems publishing apps on itunes because of UDID
Hello! Since apple does not allow to acccess the udid i have a problem publishing my apps. Does anyone know about issues for these three modules (in relation to iOS): ti.cloud v 2.3.3, ti.admob 1.4.0, facebook 3.0.0 Is there also a recommended way to...
Facebook Module login/auth not working on device
Hi! I have 2 very big problems with Facebook Module on Titanium: I created a small login script. And I have 2 situations: 1. If I request this perms: ['email', 'user_birthday', 'read_friendlists', 'user_hometown', 'read_stream', 'publish_stream',...
facebook module - login event not fired
The login dialog is opened as expected, but the facebookLoginCallbackHandler is not called, so the login event is not fired. If the code below is run again, it opens the dialog again saying that the app is authorized. But this time, when I click ok, the...
Facebook - Cancelling with Back button Android
Hi all, Okay here's an odd question: I'm using FB Authorize in an Android app. (fwiw I'm using the new v3.2 module... but I've found the same results with both) This then pops up the usual log-in Webview, aok. If the user cancels or it fails, then...
facebook sharing with reauthorize method error
can anybody please post the facebook status sharing with iOS 6 support beacuse facebook sharing recently working fine for me suddenly its getting me the error . i know the probem but unable to find the proper answer .. can any body please post sample code...
Facebook Appcelerator and Parse integration need help
Trying to create a user and link the user to Facebook directly from Parse. more details are posted here including [source code can be found here](bit.ly/ZIzybH)
facebook authentication not working - using the facebook module, not the deprecated one
I try to login using the facebook module, but after inserting the credentials, the dialog goes blank, and nothing happens. Here is a image, I don't know how to embed an image...
Facebook error with new fb module 3.1
Hi. I have updated to 3.1 and with that i use the Facebook module. So i change all my Ti.Facebook.... to fb (and yes i require the module in my code) It all works fine with the status updates from my page but it wont work with the gallery. It just...
how to speed up remote facebook data retrieval / make functions wait for remote data retrieval to complete
i have an app that retrieve data from facebook to populate a local sqlite database. there's a list of items in a tableview using those data retrieved. when users click on a row a detailed page will appear. in that page, users can like/unlike the particular...
Facebook Notifications
Hi I'm trying to send facebook notifications (app_to_user). I try ~~~ var data = new Object(); data.template="hi...
Update apps from remote server
Hi. I am getting really &#)€&)& on all the extra work that Facebook is giving me.... They change their API just as they want. Now i have a couple of apps that is broken just because suddenly you have to have an access_token to read albums...
Integrate with facebook using "apprequests"
Hello, Is anyone succeed to call the dialog request of Facebook api with external data parameters ? off course beside 'message' and 'to' params ? I tried to add 'redirect_uri' and others but with no luck ... only this example code works...
Cannot login with Facebook using Stackmob JS SDK
Hello, I am using Stackmob and Aaron Saunders port of the official JS SDK. This works great except for one thing. I cannot login to an account using Facebook (works fine to create an account using Facebook). This is my code. Am I missing something? I get...
Facebook native login check
Hi, is there any way to check if the user is already logged in to his facebook account via the ios 6.0 settings ? (integrated facebook) I'm looking for some way to check that in my app in order not to bother the user to login again since he has already...
share article on facebook
Hi everybody! I want share an article on facebook. I use the code of kitchensink but i change appID " 47644130576xxxx ". I add <property name="ti.facebook.appid">47644130576xxxx</property> in tiapp.xml and add module...
Titanium 3.1 - Modules.Facebook logout() not working.
Modules.Facebook does not perform a proper logout. I've seen various threads that recommend minor edits to FacebookModule.m (https://jira.appcelerator.org/browse/TIMOB-12828) but I cannot find FacebookModule.m anywhere on my hard drive. I also tried...
Facebook publishInstall
I'm using Titanium 3.1 with the new facebook module. Facebook has the function (and similar for android): ~~~ [FBSettings publishInstall:@"appid"]; ~~~ To track mobile installs. I have used this in a native project and it worked great. In that...
Fallback Authentication for Facebook not working in 3.1.0.GA
I am trying out the new Facebook-module in SDK 3.1.0.GA. While it does works fine if you have set up an integration from your iOS6.0 phone to FB, while **it fails to fallback to something useful** when this has not been done. This is as easy to...
Facebook authorize() doesn't work
It worked before, but now I have white screen instead facebook authentication dialog. I set __ti.facebook.appid__ property in tiapp.xml with facebook appid, __Ti.Facebook.appid__ and __Ti.Facebook.permissions__ in code. I tried to use diferent SDK versions...
Can't Trigger fb.reauthorize for Facebook Module - Blank White Screen results
**App Type:** iOS **Ti Studio:** 3.1.0.201304151600 **Device:** iPhone 5 Hello all, I've converted all my previous Facebook code to use the new delivered FB module delivered with TI Studio. Everything works great for authenticating myself and posting...
Ti 3.1 - Android error: Requested module not found: facebook
Hi all, Upgraded to Titanium 3.1 and now since then the facebook module is no longer working under android. I get this error: Message: Uncaught Error: Requested module not found: facebook It works fine in iOS. All worked fine in iOS and android in the...
Link to FaceBook website on iOS6
For a project I'm using openUrl() to open a FaceBook page. I want it to open the FaceBook website but on iOS6 I always get the native FaceBook app without the proper page. Is it possible to force the link to the browser? I can understand that the app...
titanium adding cusomt fonts without copying info.plist
Hi i there a way to add custom fonts to titanium without copying the info.plist file to the project folder and then adding them there that i the setup i currently have. But i am using the sharekit module and the facebook section of this doesn't work if i...
Ti.Facebook.appID wont work after update
Hi. I have updated to Xcode 4.6.2 and then i got an error that my iOS SDK 6.0 was no good so i updated to Ti SDK 3.1.0..GA and i have also tried 3.1.0.v20130316201654 and then iOS SDK 6.1 kicked in. So i build my project and i got this error: ~~~ ...
Username of Facebook account
H iguys, I need to get the name of the user that logged in to Facebook. How do i get it? ~~~ if (!Titanium.Facebook.loggedIn) { Ti.Facebook.authorize(); } else { typeComment(username); } ~~~ ~~~ Ti.Facebook.addEventListener('login',...
Facebook video uploads?
Has anyone had any luck performing a video upload to Facebook yet? I've been going round and around for hours now on this and just wondering if anyone has had any success at all? I keep getting a "Video file format is not supported" error.
Social Graph and Ti.Facebook.requestWithGraphPath
I am trying to add activities to the timeline of a Facebook user. Add activities through using the Open Graph and Ti.Facebook.requestWithGraphPath. I added activities to the permissions. But it keeps resulting in an error. This below code returns a...
Facebook Mobile App Ads
Hi, i want to add facebook mobile ads for my App, i want to know how can i do this from titanium? https://developers.facebook.com/docs/tutorials/mobile-app-ads/
Facebook FanPage Photo Gallery
Hi There, until 2 days ago i can pull the json feed with this link from facebook, ~~~ http://graph.facebook.com/PageID/albums ~~~ for now i couldn't pull? from my computer browser i can see the json but in simulator it says "You need Access...
How to send text message in twitter account using titanium for android app??
Hello, I want to send text message to twitter account using titanium. like in facebook i send message to my account same way i want to for twitter. How it's possible???
How to define a specific Facebook url scheme suffix for my iOS app
I would like to know if there is a way to define a url scheme suffix for the Facebook integration (to handle multiple iOS app with the same Facebook app). The following link describe the steps to configure the native app with Objective-C...
Facebook Login - Setting it up on Facebook Developers site
Hi Sorry if this has been answered before but I couldn't find any information anywhere. Could somebody explain exactly what you need to enter when setting up a new app in the Facebook Developers site? I'm specifically looking at Android at the moment and...
Facebook Sharer
Hi, i want to add a facebook share button in my app so the users can share the app on their facebook wall and the same for twitter... please advise how can i do this?
app with Facebook app navigation style
can any one point me how to create app that has navigation like Facebook app when you press on the button with (3 lines- top left ) you will find menu under the main window please help me to achive this thank you
Does Titanium API support Facebook 3.0 SDK for android mobile?
Hi, Does Titanium API support Facebook 3.0 SDK for android mobile? I can find the iOS is ok, may I know the android workable? Thank you for your answer!
Facebook Logout
Hi, i am using the facebook logout (Ti.Facebook.logout( )) but when the user want to login he is not asked about credentials and he is automatically logged in... so i want to know how can i fix this issue so the user can logout and then enter other...
Android Strange Bug move views
Hi, i have a view with a button - lets say at top:10 and left:10 Now i wanna move the view to the right .... - no Problem BUT the "click" event for the button still is on 10/10 and seems not to move along with the visual stuff... This doesn't...
Ti SDK 3.1 and Facebook install ads
Hi, I'd like to give Facebook install based ads a try and i know that Ti SDK 3.1 will include facebook sdk 3.1. Anyone knows that without a module or something I can use Facebook's install based ads?
SDK 3.0.0.GA: working with the new Facebook module (iOS only)
If you want to work with the new Facebook module (the one that's planned to be released with SDK 3.1), you need to make a couple of changes to your SDK. __DISCLAIMER__: Use at your own risk. I used this method because I really needed a new feature from...
Facebook 'apprequests' method send request but not notification
I want to invite Facebook friends to try my app with Facebook 'apprequests' method. Titanium.Facebook.dialog('apprequests', { message : "Welcome to maahApp", appId :<my app id is here>, access_token :...
Apple approves my app but Facebook don't
Hi everybody, i'm confusing with something: i made an app using the Appcelerator Titanium Platform for iPhone and iPad that uses facebook photo upload. After several tests, i submits to Apple and i get the Approval. It's on Worldwide Itunes Store called...
FIX: Titanium.Facebook.logout() actually working.
This function in file: **/Library/Application Support/Titanium/mobilesdk/osx/x.x.x/iphone/Classes/FBConnect/Facebook.m** ~~~ - (void)logout:(id<FBSessionDelegate2>)delegate { self.sessionDelegate = delegate; [_accessToken release]; ...
Failed to post to Facebook timeline
I want to share picture to my Facebook so that it shows on my timeline(news feed). Here is the code I'm using: ~~~ Ti.Facebook.appid = 'string of numbers"; Ti.Facebook.permissions = ['publish_stream', 'read_stream'] if...