GithubHelp home page GithubHelp logo

Comments (8)

yujuan avatar yujuan commented on April 26, 2024

We are aware of this issue. There is some change in the server side has broke it. We will push out a fix as soon as possible

from facebook-ios-sdk.

darkpegasus avatar darkpegasus commented on April 26, 2024

Has this been fixed yet? I ran the UnitTest app and swapped out my appID which seemed to work fine until I tried to publish a post. Then I got the "facebookErrDomain error 10000". I authenticated fine, what else could be wrong?

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 26, 2024

Which api you are using and what parameter you have give to the api?
To see the detail error, you need to implement the delegate - (void)request:(FBRequest_)request didFailWithError:(NSError_)error; and print out [error localizedDescription] or use debugger to see what the error really is.

from facebook-ios-sdk.

darkpegasus avatar darkpegasus commented on April 26, 2024

I'm using the current UnitTest application within gitHub. I implemented this delegate method to show [error localizedDescription] and this is all that I get:
"error in FBRequest: The operation couldn’t be completed. (facebookErrDomain error 10000.)"

I haven't changed anything in the test application other than the appId.

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 26, 2024

You mean the unittest included in the sdk? The unittest does not test stream.publish. For one test case of stream publish which is to test the dialog failure case, and there should be one error be shown, which is by expected. You would need to look at the test console, it would print as
2010-09-22 20:55:07.849 UnitTest[1337:40b] Test authorization
2010-09-22 20:55:07.849 UnitTest[1337:40b] Test pass, accessToken obtained:230820755197|2dc492d048b7b26736505f83-1558967323|2iP_22dImfd2EOTEyDFFqDxotho
2010-09-22 20:55:07.850 UnitTest[1337:40b] Test Public Api
2010-09-22 20:55:07.851 UnitTest[1337:40b] Test Authenticated Api
2010-09-22 20:55:07.852 UnitTest[1337:40b] Test Authenticated Api Error
2010-09-22 20:55:08.218 UnitTest[1337:40b] Test Success at test Public Api
2010-09-22 20:55:11.244 UnitTest[1337:40b] Test Success at testAuthenticatedApi
2010-09-22 20:55:11.385 UnitTest[1337:40b] Test Success for testAuthenticatedApi POST
2010-09-22 20:55:19.106 UnitTest[1337:40b] Test Success for testStreamPublish
2010-09-22 20:55:19.107 UnitTest[1337:40b] Test Logout
2010-09-22 20:55:21.939 UnitTest[1337:40b] Test Logout Succeed

from facebook-ios-sdk.

darkpegasus avatar darkpegasus commented on April 26, 2024

Yes, this is very similar to the output that I was getting. I guess I'm confused about what "Test Success for testStreamPublish" is actually testing since it gives me a dialog to publish but you say that unittest doesn't actually test stream.publish

from facebook-ios-sdk.

yujuan avatar yujuan commented on April 26, 2024

It is not test the api stream.publish, instead it is testing the dialog for stream publish and it is include the negative case. So what you see are expected.

from facebook-ios-sdk.

darkpegasus avatar darkpegasus commented on April 26, 2024

Okay, thanks for the quick replies.

from facebook-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.