My application having twitter login and post twit on twitter. so i am using FHSTwitterEngine github demo.
i am successfully login using FHSTwitterEngine. But facing problem to twit post on twitter.
At the time of twit , i am getting this error in my device “Twitter NSURLErrorDomain Code=-1012”.
Ao pls any one can give me solution for twit post using FHSTwitterEngine
And original demo is also not working for me in my device. original demo also give same error “Twitter NSURLErrorDomain Code=-1012”
Link of github demo : “https://github.com/alvani/FHSTwitterEngine”
Error code -1012 is kCFURLErrorUserCancelledAuthentication. This should mean that some code somewhere called [sender cancelAuthenticationChallenge:] in response to an authentication challenge. This is likely code inside of DMTwitterOAuth, but it's also possible it's Apple's own code inside the URL-loading system. If you're trying to post a tweet you'll likely need Read and Write access.
Related
Integrated the Instagram Basic display API with my website. It was working fine. From last few days some of the media url throws error code 403 with the message Bad Url Timestamp(these media were working fine earlier). I have tried refreshing the access token and creating a new one but it was not of any help. Not all the media but few of them are giving this error.
The url which is giving error
https://scontent-lht6-1.cdninstagram.com/v/t51.2885-15/128209372_3881072401959620_4985839256926707810_n.jpg?_nc_cat=108&ccb=2&_nc_sid=8ae9d6&_nc_ohc=KduPs8x3j9QAX944ddk&_nc_ht=scontent-lht6-1.cdninstagram.com&oh=3917991f8e3aaffbcf5f3017a9d78f26&oe=6002114
Can anyone help? TIA!
Instagram Basic display API have been updated. We need to stop using old API and switch to use new Instagram Basic display API.
Please refer these links:
https://embedsocial.com/blog/instagram-api-changes-2020/
https://www.instagram.com/developer/
Few months back I prepared a demo on Fitbit oauth2 public APIs in which I used to log in with a particular user and get his activities. It was working fine. But recently, I opened the demo and tried to log in with the same user but it is not getting logged in and repeatedly giving me this error.
I tried to change the client secret key of this demo app which I registered on Fitbit but nothing happened. I am stuck here.
There is problem with the format of Callback URL. I think Fitbit has recently changed it.
Earlier, the format of Callback URL was "demoapp://" but now
it will be "demoapp://something"
Please refer to my answer on other question.
Setting up Fitbit api in xcode Swift
I dont know where to post this, so im posting it here.
So Im trying out the Office 365 API. I've been following a tutorial : https://msdn.microsoft.com/en-us/office/office365/howto/authenticate-and-use-services
I downloaded the sample from: https://github.com/OfficeDev/O365-WebApp-SingleTenant
I believe ive set everything up correctly as it compiles, runs and Im able to login - However when I click on the "My Contact" link, I get this error:
{"error":{"code":"RESTAPINotEnabledForComponentSharedMailbox","message":"REST
API is not yet supported for this mailbox."}}
Has anyone had any experience using this ?
Thanks.
The error means the user doesn't have the mailbox in EXO cloud. Can you verify where the users mailbox is?
I'm posting a video to a Facebook profile using the iOS SDK, and it works okey. But when I try to use the same code, and post the native video to a Facebook Page, it fails with the following error:
(#200) App does not have permission to post to target
I'm using the right URL (https://graph-video.facebook.com/pageID/videos) and also I have replaced the user session token, with the Page token.
In fact, posting a photo works okey. But not a video.
What does it mean that "the app does not have permission to post to target"? Should I use a special permission in order to post a video on a page?
Thanks!
There is a bug in the Facebook's video upload code, which hasn't been fixed yet. You can track the updates on this bug using this link.
I have been able to integrate the Facebook API using Sharekit.
But currently i am being displayed with the following error.
Can someone provide a lead to me on this that what is going wrong here.
The screen shot for the error is displayed below:
Enter the Facebook APIID in SHKConfig.h file