Closed Bug 909906 Opened 11 years ago Closed 11 years ago

[B2G][Buri][1.2][Facebook] Importing contacts from facebook displays Error message:'Invalid App ID: 123456'

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+, b2g-v1.2 verified)

RESOLVED FIXED
blocking-b2g koi+
Tracking Status
b2g-v1.2 --- verified

People

(Reporter: ssuresh, Assigned: yurenju)

References

Details

(Keywords: regression, smoketest)

Attachments

(4 files)

Attached image Screen shot
Description:
When user tries to sync facebook friends from contacts app. Error message is displayed 'Invalid App ID: 123456'

Repro Steps:
1) Updated Buri v1.2 to Build ID: 20130827040201
2) Tap on Contacts app
3) Toggle on 'sync friends' button
4) User is navigated to facebook page and error message is displayed

Actual:
An error message is displayed while importing the facebook contacts from contacts app

Expected:
An error message is not displayed and facebook contacts are imported 

Environmental Variables
Build ID: 20130827040201
Gecko: http://hg.mozilla.org/mozilla-central/rev/e42dce3209da
Gaia: 599214a0f41eece076dc83cd85f5b27f8cfe67f2
Platform Version: 26.0a1
RIL Version: 01.01.00.019.202 

Notes:
Repro frequency: 100%
See attached: screenshot,logcat
Optional extra notes:
This Bug is related to the bug ID:908622
Attached file logcat
escalate due to high visibility and impact on smoketest test cases
blocking-b2g: --- → koi?
This looks like a bad app ID for facebook import. Is the build being generated correctly?
This bug also happens on v1.2 Nexus4 with Android 4.3, and ENV is as below.

[Version Info]
Gaia:     14f47e5390f6fb9b0c4c841f34024870b7052cfb
  B-D     2013-08-23 14:27:51
Gecko:    e4a2844f7941ce2c797fccdfdb03761f1f333a6a
BuildID   20130823142744
Version   26.0a1
Kernel    4.3
QA Contact: dkumar
Issue does not reproduce on 08/26 build v1.2
Build ID: 20130826163255
Gecko: http://hg.mozilla.org/mozilla-central/rev/14b1e8c2957e
Gaia: 23343e6ea3cc59c3ab0ac9188aaa657bd11da4fd
Platform Version: 26.0a1
RIL Version: 01.01.00.019.204 

Issue started occurring on 8/27 build
Build ID: 20130827040201
Gecko: http://hg.mozilla.org/mozilla-central/rev/e42dce3209da
Gaia: 599214a0f41eece076dc83cd85f5b27f8cfe67f2
Platform Version: 26.0a1
RIL Version: 01.01.00.019.204
Yuren - I'm seeing build changes that you made around this timeframe. Did something land that broke the building of official builds with the facebook app ID?
Flags: needinfo?(yurenju.mozilla)
ok let me take a look.
Assignee: nobody → yurenju.mozilla
Flags: needinfo?(yurenju.mozilla)
blocking-b2g: koi? → koi+
I used a wrong variable for OFFICIAL.
Attachment #797108 - Flags: review?(timdream)
Attachment #797108 - Flags: review?(timdream) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Verifying as fixed. It doesn't seem to occur anymore on Buri V1.2.
User is able to Sync facebook friends from the contact app.

Environmental Variables
Build ID: 20130829040202
Gecko: http://hg.mozilla.org/mozilla-central/rev/8451e35a8a50
Gaia: 98b82e7574d52ba331add18c617e08d8784ccf4a
Platform Version: 26.0a1
RIL Version: 01.01.00.019.202
This issue still happens on Nexus 4 v1.2,

Environment:
Gaia:     1e9470b9b6df630eddf1c4c8b25b3170ee786b0e
Gecko:    31cc146c80e45d87211c647c5601b3cd7b6234f8
BuildID   20131001030052
Version   26.0a2
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to hlu from comment #12)
> Created attachment 812517 [details]
> facebook_logcat.txt

(In reply to hlu from comment #11)
> This issue still happens on Nexus 4 v1.2,
> 
> Environment:
> Gaia:     1e9470b9b6df630eddf1c4c8b25b3170ee786b0e
> Gecko:    31cc146c80e45d87211c647c5601b3cd7b6234f8
> BuildID   20131001030052
> Version   26.0a2

Please build Gaia using the OFFICIAL=1 flag.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Uplifted 75eb6936cb4f9fa05e84c8d456ce845ccad36123 to:
v1.2 already had this commit
Base on https://github.com/mozilla-b2g/gaia/blob/master/Makefile#L322
Added MOZILLA_OFFICIAL=1 before ./build.sh, then it works.

Gaia mozillaorg/v1.2 - def8e152db6a317162c03a316f68c409f3af3979
Gecko mozillaorg/v1.2 - f0e33a469a21fa2a4d9d32bc1146a847a718720a
Attachment mime type: text/plain → text/x-github-pull-request
I still get this error on any firefox I build.

https://groups.google.com/forum/?nomobile=true#!topic/mozilla.dev.b2g/ovp_LY_UA7M

Below are the build instructions for ZTE Open C, what are the correct build instructions to get facebook sync to work on ZTE Open C?

And can you please update the page below to reflect those instructions, as I have been over the net trying to find an answer, so I am sure others are or will be too.


https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C
Disregard my post above, I am currently running 1.4 and facebook works, with modified instructions, thanks a lot.
Running on fx os 2.0, 2.1 & 2.2 it returns the same error. I am running on the simulator on ubuntu (linux) in webIDE, I do not have an actuall phone to test if it is reproducing on the phone.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: