Twitter connect popup page for iphone - iphone

Does Twitter has the iPhone SDK which has a login popup like facebook iOS SDK?

It doesn't have. What I can recommend you is to use this DDSocialDialog library (just 4 classes) and you can have something similar

Look for this source code:
http://github.com/bengottlieb/Twitter-OAuth-iPhone
Thanks to Ben Gottlieb.
It opens the login page as a modal view.

Wrap the page in this:
https://github.com/cglong/FBDialog

No, it doesn't. You'll have to implement your own.

Sorry, they don't. But, as facebook, their REST API can return JSON payload and that's very easy to retrieve using NSURLConnection and parse using the JSON-Framework that you van find here

No Twitter does not have the login pop up as facebook has. You have to create your own login page. or you can get few from the open source.
Matt Gemmell and Craig Hockenberry, developer of Twitterific created MGTwitterEngine, an easy-to-use library of classes providing methods that make it extremely easy for the developer to access the Twitter API. see I believe there are a few other libs out there, but it's just as easy to roll your own because like Macha says above Twitter's API gives you the option to have the feeds in XML or JSON format.
Try this link
MGTwitterEngine
hAPPY cODING...

Related

Creating a Facebook App

I am building a website for a client. He has a Facebook page for his business. On the homepage of his site, he wants a feed that will pull in all the updates from his business' Facebook page.
Now, I felt this would be very easy to implement (maybe it is) but I have scoured the Facebook API for any simple way to do this. I am having a lot of trouble understanding which way I should do this. I've settled on using JS to access it, but have no idea where to go from there.
Do I need to create an app? If so, which options do I select so I can access the clients facebook page?
How do I get my app that I've created to show up so a user can authorize it? I have so many questions, and Facebook isn't very good at giving me answers.
Any help is greatly appreciated.
I would suggest you just use the facebook page's RSS feed.
Example
Take his page URL e.g.
https://www.facebook.com/pages/Lazery-Attack/6001014870
Take the number at the end of the url off, and plug it into the facebook feeds URL e.g.
https://www.facebook.com/feeds/page.php?format=rss20&id=6001014870
Voila, you now have an RSS feed you can integrate into the website you are building.
URL Breakdown
The URL is broken down the following way:
https://www.facebook.com/feeds/page.php?format={feedFormat}&id={PageID}
Vaid feed formats are:
RSS - rss20
Atom - atom10
JSON - json
Other Examples
Atom
https://www.facebook.com/feeds/page.php?format=atom10&id=6001014870
JSON
https://www.facebook.com/feeds/page.php?format=json&id=6001014870
Take a look at the facebook API, right here: http://developers.facebook.com/docs/reference/api/page/
You can give it a try here:
http://developers.facebook.com/tools/explorer/?method=GET&path=19292868552%2Fposts
The like box: http://developers.facebook.com/docs/reference/plugins/like-box/ also has the latest posts available
The simplest way is to add a Like Button to the page and make sure "show Stream" is checked on as this will show all recent posts. You can customise the appearance also (e.g. width, height etc).
No App or messy API calls needed!
Try it out here and simply paste the resulting code into your webpage:
http://developers.facebook.com/docs/reference/plugins/like-box/
Not an app, but the Facebook Social Plugins over here at Facebook For Pages

Orkut/Flickr Framework for Objective-C

I am aware of Google+, Facebook and Twitter framework in iPhone. But for my new app requirement is that user should be able to post via FB/Twitter/G+/Orkut/Flickr.
Is there any such framework for Orkut/Flickr as opposed to FB/Twitter/G+ Or, do i need to redirect user to Orkut/Flickr and placing it in UIWebView as an traditional practice in webview.
Thanks for any help in advance :).
Did you even search for this on google:
Flickr: http://www.flickr.com/groups/api/discuss/72157616815681140/
Direct link to the library: https://github.com/lukhnos/objectiveflickr
Orkut API: https://developers.google.com/orkut/

Facebook URL scheme to post a new message from iPhone

I am developing an iPhone application, and want it to be able to post a message to Facebook, by using the Facebook app.
Is there a custom URL to do this?
I've found this page that has a list of Facebook commands, but it doesn't say how to post a new message...
The URL to post a new message to the wall is
fb://publish/?text=some text to post
This works with Facebook app 4.1... I don't know if it works with older versions.
This answer might help you... Especially this : fb://messaging/compose
If you are talking about using a feed post then you have to do this:
[facebook dialog:#"feed" andDelegate:self];
See here for more info
Also if your making this a mobile web app then you could try this:
http://www.facebook.com/dialog/oauth?
client_id=YOUR_APP_ID&redirect_uri=YOUR_URL&display=touch
More info on web app
You could also just use Sharekit, that gives your users the option what to share. Otherwise, you'll have to use the FBDialog from the facebook-ios-sdk or a matching webview using the URL given by the other posters
The method you mention, directly calling the facebook app, a) requires the app to be installed (usually not the case on iPads, for example) and b) is not officially supported by facebook - the two other ways are.

How to connect facebook with sharekit?

I am a new bie and first time using Facebook in the application.
For this I am using sharekit..
And it works fine in the example...
Now I have some specific requirement...
it is like i want to make a button..whenever i click this button...it should be go to facebook
can anyone tell me what should i do here and another thing ..is it good to use sharekit for all this stuff?? or should I use any other api??
Did it!!!
This helped me a lot
iPhone/iOS - How to use "ShareKit" to post only to Facebook or only to Twitter
This days their is another great option:
UIActivityViewController.
example of use

Dialog Box for Login with Social Media Accounts

I have been looking for the ways to integrate facebook, twitter or email in my iphone App but I didn't find the way to do the dialog box which proposes these previous options...
Here is what I am looking to do
(source: fonearena.com)
It seems like an alert view but it sure isn't ... anyone knows how to do that ? (I guess it is a predefined object) ;)
It's a UIActionSheet.
Heres the Class Reference:
http://developer.apple.com/iphone/library/documentation/uikit/reference/UIActionSheet_Class/Reference/Reference.html
It is an UIActionSheet. If you are looking for Twitter code then look at my Twitter code for the iPhone. It was specifically designed for 'Share' functionality:
http://github.com/st3fan/iphone-twitter/