At times, when I am trying to share using facebook, I get this error:
Cannot Post To Facebook The post cannot be sent because the connection to Facebook failed.
It doesn't allow me to send the post to facebook. At other times, it allows me to post. What might be the issue?
Need some help. Any idea
Edit
This is happening when I am posting the msg/text the second time. The first time, it is working fine.
It is giving me this error:
<Error>: CGImageCreate: invalid image size: 0 x 0.
But I am just posting a text, no image involved...
I faced the same error when was trying to share text with url link, but url was to localhost. Looks like Facebook validates and prerender links when posting from external sources and fails if url is invalid for any reason. SLComposerViewController returned with ok status btw. So always check your share content to find problem.
If you are posting the same text second time, maybe Facebook goes on validating it also (like in Twitter) to prevent duplications. Though it worked for me now, so maybe Facebook changed something in that context since you posted this question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With