Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2139] Module facebook is empty

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-11-06T13:52:22.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRainer Schleevoigt
AssigneeMauro Parra-Miranda
Created2013-11-04T07:34:15.000+0000
Updated2016-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)

Comments

  1. Mauro Parra-Miranda 2013-11-04

    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
  2. Rainer Schleevoigt 2013-11-04

    Here you found the test case: https://github.com/AppWerft/Runway-fashionBook/blob/master/Resources/ui/facebook.js
  3. Rainer Schleevoigt 2013-11-04

    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"}}
  4. Mauro Parra-Miranda 2013-11-04

    Hello, did you added it in tiapp.xml? Best, Mauro
  5. Rainer Schleevoigt 2013-11-04

    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 …) ?
  6. Davide Cassenti 2013-11-06

    Marking as duplicate of TIMOB-15663
  7. Mauro Parra-Miranda 2013-11-24

    Closing since it's a dup.

JSON Source