我用钛合金制作了一个应用程序
index.js
// Use the Alloy.Globals.Facebook namespace to make Facebook module API calls
var facebookModule = Alloy.Globals.Facebook;
//set facebook app id
facebookModule.appid = Ti.App.Properties.getString("ti.facebook.appid");
//set permissions i.e what data I want
fac
我有一个钛(appcelerator)应用程序与facebook登录工作。
我最近重新打开我的IDE (appcelerator工作室),做更新,然后放松在模拟器中的应用程序,而facebook登录不再工作了。
错误是:
Log in attempt failed: FacebookActivity could not be started. Please make sure you added FacebookActivity to the AndroidManifest.
文件是一样的。这是我的tiapp.xml (android节点):
<android xmlns:android
我已经在我的appcelerator钛应用程序中设置了一个视图,使其与厨房水槽演示程序中的facebook登录几乎相同。我想为IOS使用单点登录:
//LoginView Component Constructor
function LoginView() {
//create object instance, a parasitic subclass of Observable
var self = Ti.UI.createView();
// APP ID BELOW IS CHANGED FOR DEMO PURPOSES
Titanium.Fac
在我将钛升级到3.1.3之后,我无法运行现有的合金项目。
当我使用模拟器运行现有的合金项目时,我得到一个错误:
Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.1.GA
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
[ERROR] Application Installer abnormal process termination. Process exit value was 8
当我创建新项目(
我得到了错误
[ERROR] : message = "Publish or manage permissions are not permitted to be requested with read permissions.";
当我点击我的应用程序登录facebook时。我的同事从来都不会。相同的代码,相同的模块等等。
Appcelerator Studio, build: 4.5.0.201602170821
(c) Copyright 2012-2014 by Appcelerator, Inc. All rights reserved.
Build: j
我正在开发一个“分享facebook”按钮。
但是有一个问题,facebook对话框没有提示给用户。
我试过钛提供的样品:
function facebook(){
var fb = require('facebook');
var data = {
link : "http://www.appcelerator.com",
name : "Appcelerator Titanium Mobile",
message : "Checkout this cool open