Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on devices - remote_app_id does not match stored id #5

Closed
kenshin03 opened this issue Apr 30, 2013 · 5 comments
Closed

Comments

@kenshin03
Copy link
Owner

changing the issue name

@ghost
Copy link

ghost commented May 11, 2013

I followed everything perfectly but it still seems suspended on home with the loading wheel! It stays on the old home screen for some reason? Like I see the home screen where it is on the left upper corner but it changes and goes back to the old home loading wheel.....

@kenshin03
Copy link
Owner Author

Hi becasual, can you describe any error messages you see in the console?

anything along the lines of this?
"2013-05-11 13:29:38.985 Home[3811:1303] granted: 0
2013-05-11 13:29:38.987 Home[3811:1303] error: Error Domain=com.apple.accounts Code=6 "The operation couldn’t be completed. (com.apple.accounts error 6.)"

Try adding breakpoints at PSHFacebookDataService initAccount() to see what kind of errors are being returned by the Facebook graph api. That would help to diagnose the issue. Thanks.

@ghost
Copy link

ghost commented May 12, 2013

2013-05-11 17:36:06.656 Home[2453:c07] +NSManagedObjectContext(MagicalRecord) MR_contextWithStoreCoordinator: -> Created Context UNNAMED
2013-05-11 17:36:06.658 Home[2453:c07] +NSManagedObjectContext(MagicalRecord) MR_setRootSavingContext: Set Root Saving Context: <NSManagedObjectContext: 0xa130a90>
2013-05-11 17:36:06.659 Home[2453:c07] +NSManagedObjectContext(MagicalRecord) MR_newMainQueueContext Created Main Queue Context: <NSManagedObjectContext: 0xa33dc10>
2013-05-11 17:36:06.659 Home[2453:c07] +NSManagedObjectContext(MagicalRecord) MR_setDefaultContext: Set Default Context: <NSManagedObjectContext: 0xa33dc10>
2013-05-11 17:36:09.470 Home[2453:1303] granted: 0
2013-05-11 17:36:09.471 Home[2453:1303] error: Error Domain=com.apple.accounts Code=7 "The Facebook server could not fulfill this access request: remote_app_id does not match stored id " UserInfo=0x9451870 {NSLocalizedDescription=The Facebook server could not fulfill this access request: remote_app_id does not match stored id }
2013-05-11 17:36:09.472 Home[2453:c07] error getting permission Error Domain=com.apple.accounts Code=7 "The Facebook server could not fulfill this access request: remote_app_id does not match stored id " UserInfo=0x9451870 {NSLocalizedDescription=The Facebook server could not fulfill this access request: remote_app_id does not match stored id }
2013-05-11 17:36:10.144 Home[2453:1303] granted: 0
2013-05-11 17:36:10.145 Home[2453:1303] error: Error Domain=com.apple.accounts Code=7 "The Facebook server could not fulfill this access request: remote_app_id does not match stored id " UserInfo=0xa3166d0 {NSLocalizedDescription=The Facebook server could not fulfill this access request: remote_app_id does not match stored id }
2013-05-11 17:36:10.145 Home[2453:c07] error getting permission Error Domain=com.apple.accounts Code=7 "The Facebook server could not fulfill this access request: remote_app_id does not match stored id " UserInfo=0xa3166d0 {NSLocalizedDescription=The Facebook server could not fulfill this access request: remote_app_id does not match stored id }

This is what I get

@kenshin03
Copy link
Owner Author

ah... it seems like you modified the bundle ID of the app to install it onto a device, which is normal. Issue is, the facebook app ID used to make calls have to be associated with a specific bundle ID.

the way to go round this is, you could create a new facebook app, associated it with the Bundle ID you're using, then in PSHConstants.m, change the facebook app ID to your own.

Here's an example of the Facebook app settings I have now:

facebook_app_settings

@kenshin03
Copy link
Owner Author

closing the issue. please re-open if you still have problems after creating a new FB app for deployment to device, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant