简体   繁体   English

facebook sdk 3移动应用在行动脚本中安装广告

[英]facebook sdk 3 Mobile App Install Ads in actionscript

I'm making mobile application in Adobe AIR but can't find solution for integrating new facebook features. 我正在Adobe AIR中制作移动应用程序,但找不到集成新Facebook功能的解决方案。 There is a library supported by both Facebook and Adobe https://code.google.com/p/facebook-actionscript-api/ but it lacks lots of new sdk parts. Facebook和Adobe都支持一个库https://code.google.com/p/facebook-actionscript-api/,但是缺少许多新的sdk部分。

Particularly I'm interested in having Mobile App Install Ads working. 我特别想让Mobile App Install Ads运作。 Hope I'm not alone with this and someone has similar issue. 希望我并不孤单,有人遇到类似的问题。 There are several variants in my mind: 1. porting java sdk code to actionscript 2. creating ane extension 我的想法有几种变体:1.将Java sdk代码移植到动作脚本2.创建ane扩展

Any thoughts, suggestions, solutions are welcome. 欢迎任何想法,建议,解决方案。

I'm looking to do this exact same thing. 我正在寻找做同样的事情。 There's no way around it as far as I can see but to port the publishInstall code from a Mobile SDK. 据我所知,除了从Mobile SDK移植publishInstall代码之外,别无他法。 I like the Android SDK version for that. 我喜欢它的Android SDK版本。

The following code is from the Settings.java: 以下代码来自Settings.java:

        GraphObject publishParams = GraphObject.Factory.create();
        publishParams.setProperty("event", "MOBILE_APP_INSTALL");
        publishParams.setProperty("attribution", attributionId);
        publishParams.setProperty("auto_publish", isAutoPublish);
        publishParams.setProperty("application_tracking_enabled", !AppEventsLogger.getLimitEventUsage(context));
        publishParams.setProperty("application_package_name", context.getPackageName());

        String publishUrl = String.format(PUBLISH_ACTIVITY_PATH, applicationId);
        Request publishRequest = Request.newPostRequest(null, publishUrl, publishParams, null);

It looks like a straight forward request to reproduce. 看起来像是直接要求复制。 I'll try to remember to update this after I get it done. 完成后,我会尽量记住对其进行更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将Facebook SDK集成到移动应用广告安装中是否必不可少 - Is it essential to integrate Facebook SDK to work with Mobile App Ads Install Titanium Appcelerator - Facebook移动应用程序安装广告 - Titanium Appcelerator - Facebook Mobile App Install Ads 没有在应用程序中集成Facebook SDK的情况下,Facebook广告应用程序的安装是否可以工作? - Will Facebook ads app install work without Facebook SDK Integration in the app? Facebook移动应用安装广告跟踪安装路线 - facebook mobile app install ads track the install routes Facebook 应用安装广告:是否必须安装 SDK? - Facebook App Install Ads: Is it mandetory to have the SDK installed? Facebook移动应用程序安装广告错误 - 找不到您请求的页面 - Facebook Mobile App Install Ads Error - Page you requested was not found 如何测试Facebook移动应用程序安装广告“上次移动安装报告”字段? - How to test Facebook mobile app install ads “Last Mobile Install Reported” field? 作曲家安装Facebook Ads SDK PHP时出错 - Error with composer install Facebook Ads SDK PHP Facebook Mobile应用安装广告跟踪(不带SDK) - Facebook Mobile app install ad tracking (without SDK) Facebook iOS SDK-移动应用安装跟踪不起作用 - Facebook iOS SDK- Mobile App Install Tracking not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM