[AC-2139] Module facebook is empty
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-11-06T13:52:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rainer Schleevoigt |
Assignee | Mauro Parra-Miranda |
Created | 2013-11-04T07:34:15.000+0000 |
Updated | 2016-03-08T07:41:07.000+0000 |
Description
If I use require('facebook') then the result is an empty object.
This happens by embedding of 3.0.0 and 3.0.1 of facebook module. The modules are living in ≈Library/Application Helper/Titanium/modules/android.
THe issue appears in all versions of module (3.0.0 + 3.0.1)
Hello Reiner, are you trying to use Facebook modules with which version of Mobile SDK? Can you provide a test case about this? Best, Mauro
Here you found the test case: https://github.com/AppWerft/Runway-fashionBook/blob/master/Resources/ui/facebook.js
after calling of (my) module on console comes: I/TiAPI (21389): Info: test if facebook object is valide: undefined I/TiAPI (21389): Info: user is logged in into facebook, start retrieving image http://familientagebuch.de:80/axel/photo/high/26BP_Ackermann_018.jpg I/TiAPI (21389): Info: got image, length: [object TiBlob] I/TiAPI (21389): Info: try to post this data: {"message":"TEST MESSAGE","caption":"TEST CAPTION","picture":{"bubbleParent":true,"nativePath":null,"type":2,"file":null,"height":750,"length":101061,"text":null,"width":500,"mimeType":"image/jpeg"}}
Hello, did you added it in tiapp.xml? Best, Mauro
Yes, I have hidden the file in github with gitignore. https://gist.github.com/AppWerft/aee7d43b3d08f9a41321 Here you found also the id for login. Is there a problem with appid, I have only created an app in facebook. Do I need a type of app (web, android, ios, tab …) ?
Marking as duplicate of TIMOB-15663
Closing since it's a dup.