Giter Site home page Giter Site logo

Comments (16)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Will try to look into it, however I don't have a sh*t of time... a couple of 
months ago looked into a possible update for the ANE (not related to this), but 
had to left it aside. Also, I'm currently working into another interesting ANE, 
and want to make at least one update to the Maps one.

Please, reply again this friday and saturday so I don't forget about it.

Original comment by [email protected] on 18 Feb 2014 at 8:47

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
I've just heard Twitter has made some changes in its API, it's now restricted 
or something like that, and some companies have disabled their Twitter support 
for now.

I don't know, we'll see when I get some time to investigate this issue further.

Original comment by [email protected] on 19 Feb 2014 at 3:47

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Ah, figures. Damn you Twitter!!!

Thanks for looking into it.

WIll see if I can find another alternative in meantime.

Original comment by [email protected] on 19 Feb 2014 at 5:08

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Well, I cannot confirm it, I just happened to hear this info. Will update again 
as soon as possible.

Original comment by [email protected] on 19 Feb 2014 at 5:11

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Decided to give a quick look into this. It seems Twitter has dropped the API 
access through http, and now it can only be accessed through https. Could you 
recompile the code making that change? if not, well, it may take me a bit of 
time.

Original comment by [email protected] on 19 Feb 2014 at 5:16

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Never have and don't really know how to compile an ANE but can look into it.

Original comment by [email protected] on 19 Feb 2014 at 5:24

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Do you have a Mac installation? You need it. If so, just change:

#define TWITTER_URL @"http://api.twitter.com/1.1/"

to

#define TWITTER_URL @"https://api.twitter.com/1.1/"

In NativeTwitter.m. Modify the build configuration file so it points to your 
own paths, and run "ant" in a terminal window. It's fairly easy and takes a 
minute or less, but when I update the ANE I'd like to make some changes to it, 
hopefully this weekend.

Original comment by [email protected] on 19 Feb 2014 at 5:42

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
I am on Mac, but this is a little over my head. Will try to read up on it. 
Found a couple articles on Adobe's site regarding building/compiling ANEs.

Original comment by [email protected] on 19 Feb 2014 at 5:56

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Well, you don't need to read any of it. If you download the source code you 
just have to make the two changes I commented before and call ant in the 
commandline, it will do everything else for you, compile the iOS library, the 
swf file, and package the final ANE.

Original comment by [email protected] on 19 Feb 2014 at 6:00

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Hmmm, I'm close, but get this message when running ant:

iOSCopy:

BUILD FAILED
/Users/xxx/Flash/extensions/nativetwitter-ane/trunk/build.xml:53: Warning: 
Could not find file 
/Users/xxx/Flash/extensions/nativetwitter-ane/trunk/NativeIOS/NativeTwitter/buil
d/Release-iphoneos/libNativeTwitter.a to copy.

I changed the build.properties file to update the AIR_SDK_PATH 

Am I missing something, is there anything else that needs to be changed?

Original comment by [email protected] on 19 Feb 2014 at 6:30

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Does it actually manage to compile a libNativeTwitter.a binary? 

Original comment by [email protected] on 19 Feb 2014 at 6:32

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Yes, that binary compiled. 

[exec] Stripping ../../Binaries/iOS/libNativeTwitter.a
     [exec]     cd "/Users/xxx/Flash/extensions/nativetwitter-ane/trunk/NativeIOS/NativeTwitter"
     [exec]     setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/munki:/Applications/acquia-drupal/drush"
     [exec]     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -S "/Users/xxx/Flash/extensions/nativetwitter-ane/trunk/NativeIOS/NativeTwitter/../../Binaries/iOS/libNativeTwitter.a"
     [exec] 
     [exec] 
     [exec] ** BUILD SUCCEEDED **

Any chance you could do a quick compile with the modification needed?

Original comment by [email protected] on 19 Feb 2014 at 8:19

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Will try to make a small update later today, wanted to make it sooner, but I 
don't know if it will be possible.

According to that log, it seems like the iOS library is being directly compiled 
into the final path? if so, you could edit the build.xml file to omit the 
iOSCopy step.

Original comment by [email protected] on 21 Feb 2014 at 8:16

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Thank you, sir. Will be out of town/offline for a couple weeks so won't be able 
to test, but the help is greatly appreciated.

Original comment by [email protected] on 21 Feb 2014 at 3:25

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Hello,

Checking in.

Were you able to get it to compile?

I tried tinkering with build.properties and changed the lib path to 
IOS_LIB_PATH = ${BINARIES_FOLDER}/iOS/lib${PROJECT_NAME}.a

That got it further along in the compilation until throwing this message:

compile:
     [java] ../nativetwitter-ane/trunk/AS/src/extension.xml: error 102: Invalid namespace http://ns.adobe.com/air/extension/3.4"

Which I'm guessing has to do with the AIR SDK that comes with FB found here: 
/Applications/Adobe Flash Builder 4.7/sdks/4.6.0

When changing the "AIR_SDK_PATH" path to: /Applications/Adobe Flash Builder 
4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK3.4 it throws:
"[exec] Unable to access jarfile /../lib/compc-cli.jar"

Trying to update the AIR in the "sdks" folder throws a similar error.

Kind of stuck and could use any advice/help.

Thanks,
Mark

Original comment by [email protected] on 12 Mar 2014 at 6:32

from nativetwitter-ane.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Nevermind, got it!

I went back and tried again to update the AIR/Flex SDK here: 
/Applications/Adobe Flash Builder 4.7/sdks/4.6.0

Somebody had posted on an Adobe forum to use the archived AIR 3.4 SDK without 
the compiler. I tried with the compiler first and that didn't work.

So here is a working version of the ANE for anybody that needs it: 
http://www.2ndstringproductions.com/stuff/software/NativeTwitter-101.ane

Please let us know if able to make any more updates.

Best,
Mark

Original comment by [email protected] on 12 Mar 2014 at 9:37

from nativetwitter-ane.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.