I am using the ShareKit to share the articles in Twitter. For shortening the URL in Twitter sharing, I am using the Bitly. Can I use the same Bitly credentials for different Twitter App Key in ShareKit?
Yes, you should be able to.
I've only ever created one set of bitly login details and have had no problem shortening URL's!
Matt
Related
I am trying to implement social media login with AWS Cognito (Mobile services)for iOS app.AWS directly supports login with Amazon, Facebook, Google+ and Twitter. But i want to implement instagram login with AWS Cognito. How can I achieve this. Please look at the Screen Shot,
In the screen shot you will see provider sections like Amazon,facebook, google and Twitter and the rest of the three are for other. Please let me know which one will work for INSTAGRAM login in rest of the three provider OpenID, SAML and Custom. And how to implement it??
Unfortunately there is no out of box support for Instagram, so your best bet is to setup Instagram as Custom provider. Please refer to this doc and blog to learn about setting up custom provider.
Basically your app needs to interact directly with Instagram to get Instagram User's unique id. That id can then be used as developer user identifier in GetOpenIdTokenForDeveloperIdentity to get Cognito Identity Id and Token.
You can take a look at auth0, maybe this meet your requirements.
The instagram has stopped supporting authentication. You can use Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts.
Check below links -
1)https://developers.facebook.com/docs/instagram-basic-display-api
2)https://www.instagram.com/developer/
They mentioned, "Authentication — Instagram Basic Display is not an authentication solution. Data returned by the API cannot be used to authenticate your app users or log them into your app. If you need an authentication solution we recommend using Facebook Login instead".
I use FHSTwitterEngine for twitting from my app. I know i can use XAuth and OAuth to login twitter account, but I'm wondering if is there any way to login by getting Twitter account assigned to iPhone. I mean that I can assign my twitter account in setting in my iPhone and some app get this stored data from settings and can login user basis on it. Is this feature avaiable under FHSTwitterEngine?
Since it doesn't require/import Social.framework or similar, FHSTwitterEngine does not support iOS Twitter accounts.
Social.framework allows posting to twitter/facebook, but does not offer any information like OAuth tokens to log in outside of it.
I wanted to display twitter feed like in image
Is it necessary to do "OAuth" for this?? I am trying to do "OAuth" in using this url.
It is giving:
Access denied Sorry, you're not allowed to access that page.
Twitter feed should be of user which i will give username not who are logged in simulator or device. I am following this tutorial
"Twitter offers applications the ability to issue authenticated requests on behalf of the application itself" https://dev.twitter.com/docs/auth/application-only-auth
You can use - AFTweetFetcher - "Simple class for retrieving tweets from twitter using their new 1.1 API without requiring the user to authenticate or have a twitter account stored on their device"
All you need: ConsumerKey and ConsumerSecret
Yes, you need to authenticate.
Try this library https://github.com/nst/STTwitter if you don't want to use Apple's Twitter frameworks as this would require the user of the phone to have a twitter account.
I am using omniauth to register multiple user accounts from facebook, twitter and tumblr. I succesfully set up the connections to facebook and twitter, but i fail to connect to Tumblr.
The omniauth homepage on github tells me it does work with Tumblr, but does'nt supply me with any documentation on this provider.
I don't know what credentials i have to use for the initializers/omniauth file. I don't have any consumer keys/secret; Tumblr does not even supply these keys.
Ideas anyone?
It turns out Tumblr does have proper oauth 2 authentication. Strangely they managed to hide their application registration page. I couldn't find this page anywhere, not by googling 'Tumblr app registration' or anything. They don't even mention it in any of their api documentation (which I found pretty good on itself btw). It almost look like they do not even like 3rd party apps?
Eventually i found the registration page trough a php authentication tutorial. I will paste it here for future reference:
http://www.tumblr.com/oauth/register
I'm currently using OAuth to authenticate people with their twitter (twitter gems) acount in my application. The problem is that for people who aren't connected or who have various accounts.
So that's my question, is that possible, to ask user their login/password to link their twitter account on my application ?
Thanks
It is no longer possible to connect to Twitter's API using Twitter credentials. Twitter's public stance on this is that you should -never- provide your Twitter credentials to anyone else, ever. This is part of their rationale for implementing OAuth.
Even if you had the user's Twitter password, you couldn't validate that it was actually their password, nor could you access their Twitter account with it through the Twitter API.
Your best bet would be to look into devise and omniauth. I've gotten it to work this way. Omniauth also allows to link to several accounts. Be it, Facebook, Twitter, etc.
I'm sure it's entirely possible to ask users for their Twitter login/password on your application. It's a very bad practice though, as OAuth avoids the need for client applications to ever touch a users credentials. I suggest setting up an authentication/authorization system that maintains a login/password and then allows connecting multiple OAuth accounts via an AuthenticationStrategy model or the like. Ryan Bates did a few Railscasts on the subject:
http://railscasts.com/episodes/235-omniauth-part-1
http://railscasts.com/episodes/236-omniauth-part-2