Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Facebook Module has no addEventListener or Authorize methods

$
0
0

So this isn't a question, moreso a getting details from JIRA into the Q&A section as I was looking around for a while and didn't find anything. My setup was:

lib/facebook.js - a custom library used to wrap my FB stuff

In here I was getting an error stating the above methods didn't exist. I found the JIRA task:

https://jira.appcelerator.org/browse/TIMOB-15663

in which there is a comment stating that if you have a name facebook.js this will override (on Android) the actual facebook.js module. Once I changed the name to:

/lib/facebooklib.js

the functionality worked like a charm. Hopefully this helps anyone else having this issue. If this is common knowledge, then chalk it up to me just learning about it.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>