I found issue in twitter sharing screen disabling "Post" button after exceeding tweet limit and updating twitter limit count, if the characters are entered continuously after Sharing URL with "http://" prefix .But the count is incrementing after putting a white space after URL string. Do any one found any solution!
Related
I have a local video link, and i want when the user press the button -> show twitter app with my video and title there (without using UIActivityViewController), just by pressing the button
You have to choose which way you want to go to upload a video, i.e. post a tweet with just that title you've mentioned.
Option 1
Use the HTTP API and create a URLRequest that contains the video as 'attachment'. You have to handle authentication first or the request will most likely fail.
Option 2 (Not really an option anymore)
Another way would be the iOS SDK provided, as given in the other example here. Problem is: there is no longer an official Twitter SDK for iOS. You could try your luck with the archived OpenSource SDK but maintainability is pretty decent with this.
I am building a news website where one of the views is a webview of articles.
I had installed push woosh but when i send out notifications with URLs in them tapping the URL opens the web page in the native browser, is there any way i can set it so that the pages open in the webview in the app?
You can use Rich HTML Pages,
Such pages can contain rich-formatted text, links and images.
From GUI - yes, rich pages.
Also there is "remote_page" parameter in API. It's similar to "url" parameter, but it will be opened in webview.
For example:
{"request":{
"auth":"TOKEN",
"application":"APP-CODE",
"notifications":[{
"send_date":"now",
"content":"test",
"remote_page":"http://google.com"
}]
}}
This url will be delivered as "r" parameter on your device. Be careful: max ios payload size is 255 bytes. And Pushwoosh will not short this url automatically. Do it by yourself if needed.
Clicking on an email link from the Mail app that had "utm_source=eCom" as part of the URL brought me Safari URL where "=eC" was replaced by "ì" (the lowercase i with an accent going left). Final result: "utm_sourceìom"
In the same instance, "utm_content=Face" was replaced with "utm_contentúce".
Other links from the same email with the same content didn't do this. Any ideas what might be causing this?
I've a universal iOS app that uses ShareKit to share an image and a line of text:
SHKItem *item = [SHKItem image:imageToShare title: shareTitle];
if (destination == K_FACEBOOK) {
[SHKFacebook shareItem: item];
}
The image is a UIImage of not more than 512 x 512, and the line of text is < 200 characters, so the total payload is ~50k. When I share to email or twitter it's near instantaneous, but when I share to Facebook, it can end up taking somewhere between 20-30 seconds.
In my configuration for the Facebook sharer I've disabled using the Facebook app and Safari, so everything is presented by ShareKit itself.
Is there something that different in the process for uploading to Facebook that could cause this delay?
I'm not familiar with Sharekit, but one reason it might take longer for Facebook to upload a picture is Facebook themselves. They might be restricting the amount of data that can get sent to it's servers, similar to what Apple does. Try testing the app with a very small image and see if it speeds it up. Then you know that it is not on your end.
I recently added a facebook like button to one of our pages. Everything works fine except ios sees the number of facebook likes, thinks it's a phone number, and turns it into a link.
I've read around and
<meta name = "format-detection" content = "telephone=no">
should disable automatic phone links. The problem is, the like button is added as an iframe so I have no way to insert the above meta tag into the document. Adding it to the containing document does nothing.
Has anyone found a way around this issue?