Embedding a Twitter Web Intent - twitter

Is it possible to embed a Twitter web intent inline in a webpage? I'm working on an app for which the popup is too obtrusive.
If this is possible, how would I go about it?
Thanks for your time!

Related

How to pass auth from iOS native app to web app?

I have my iOS app and my web app. Say I have n authenticated user in my iOS app and now I want to open a specific page of my web app for this user in a web view.
What is a good practice of doing so? Do I have to implement a special web page that would do the auth check and redirect to the page needed or is there a way to do this just via WKWebView?
Any kind of help is highly appreciated.

Redirecting to a particular page in website when clicked on link shared from Mobile via Branch.io

I have video sharing and content sharing enabled for my iOS application with Branch.io deeplinking. When I share my contents from mobile to social networks and any user clicks on the same link from desktop, I would like to redirect them to a particular page in website.How can I achieve this?
Alex from Branch.io here: this is accomplished via the $desktop_url link control parameter. You can read about how to use it on this docs page

iOS, share webView content (long text or .pdf) via twitter and Facebook

Hello fellow developers,
I have some html loaded into a webview. I need to share its contents with twitter and Facebook, hence need to understand the following:
Is there a way to share long text to twitter? If that's not supported natively, maybe you are aware of some service that would accept some text and give me a link for that
I'm able to generate a .pdf from webview (following some article from this question How to convert html data to PDF in objective c) Are you aware of some service with iOS SDK that would accept a .pdf file and give me a link for that ? Having that you could simply share link via twitter.
I've spent some time googling both of those and at the moment the only idea is using dropbox, which kinda solves the case but provides not the best user experience since one would need to log-in to dropbox to enable the share functionality.
Looking forward to hear your thoughts.
--Dan
I recommend setting up a basic PHP service on your website (if you have one) to where you can upload the .PDF and then feed the returning link to an iOS API such as bit.ly's.
Their API will return a shortened link to the .PDF on your website and you can also track click counts with bit.ly
http://github.com/bitly/bitly_ios_sdk

Share on Facebook / Twitter / E-mail feature using PhoneGap / jQueryMobile

I'm coding an app for iOS / WP7 / Android using PhoneGap and it has to allow the user to publish comments to its facebook wall / twitter or send it by e-mail.
What is the easy way to face these tasks? any common approach? maybe a plugin? I have seen some similar posts in stackoverflow but none of them seems to offer a plain solution for all platforms...
Thanks
Here's a nice one, it's a JQuery plugin that not only has a nice interface but also provides the implementation details (link) to actually share something on each one of those frameworks!
jQuery social media share
If you want more access (like FB Wall), you'll need to actually code against the FB SDK (in javascript, not that hard but tons of functionality!).
PS: I am not affiliated in any way to this plugin or to it's author
You can use JavaScript based API's to make calls from your native apps that are not platform specific (so you can implement the same code in several native apps).
For instance, here is a link to the Facebook JavaScript API: http://developers.facebook.com/docs/reference/javascript/
For sending email, you could allow your users to compose the email in your app, then use an AJAX call to send the data to your server where your server-side script can send the email.
here is a implemetation with javascript for facebook, email and twitter in a few lines of code: http://www.sebastianviereck.de/en/mobile-multi-share-implementation-with-jquery-mobile/

Sharing a link on Twitter

Hey all,
I would like to make possible to share links of my website on twitter with a click. I've already done this for facebook, just one click and the classic facebook window appears where you can also write what you're thinking while sharing the link.
Is it possible to do the same for Twitter? I've searched through the web but I could only find apps that go on your browser and not for a website. Moreover it would be better a simple code instead of an app, if it's possible.
Thanks
You mean this?
Twitter tweet button
Twitter Dev tweet button

Resources