objective c - Getting 404 Error when trying to share from my custom iOS app with Google+ -
i installed google+ sdk ios , implemented share function:
- (void)customuiasview:(customuiasview *)customuiasview didclickgoogle:(uibutton *)sender{ static nsstring * const kclientid = @"122385832599-2mcvobo565un3ab7d6d06m6fjemocto9.apps.googleusercontent.com"; share = [[gppshare alloc] initwithclientid:kclientid]; share.delegate = self; [[[[share sharedialog] seturltoshare:[nsurl urlwithstring:myurl]] setprefilltext:opin.sname] open]; }
and works fine, no errors in console, when safari mobile opened link (which works fine desktop browsers), got 404 error!
https://plus.google.com/share?client_id=122385832599-2mcvobo565un3ab7d6d06m6fjemocto9.apps.googleusercontent.com&continue=com.pinstyle.pinstyle%3a%2f%2fshare%2f&text=neu%20h%26m%20divided%20grey%20blogger%20trend%20urban%20leder%20biker%20jacke%20nieten%2034%20s%20xs%2036&url=http%3a%2f%2fpinboard.maryme.lan.s3.amazonaws.com%2f1%2f25607-neuhmdividedgreybloggertrendurbanlederbikerjackenieten34sxs36.jpg&bundle_id=com.pinstyle.pinstyle&gpsdk=1.0.0
someone had same error: https://groups.google.com/forum/#!msg/google-plus-developers/zscxgntqrjy/jidpj076bfyj
but solution changing bundleid 1 @ to the lowest degree 1 dot. bundleid have 2 dots, don´t know do. have clue of how solve this? thanks!
it seems bundle id authentication error, if changed bundle id without corresponding alter in apps service on google server,you should error.
so,try revise bundle id , modify 1 entered on google server.
ios objective-c http-status-code-404 share google-plus
No comments:
Post a Comment