Orkut/Flickr Framework for Objective-C - iphone

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/

Related

Embedding Facebook page in to an ios app

Hello fellow members,
I am currently developing an app which needs to have a Facebook page embedded inside it I have looked at the Facebook SDK and cannot seem to find a way of doing this.
Any suggestions or thoughts on this would be really appreciated
Thanks
Tom
Put a UIWebView in there and load an NSURL inside of it, with the URL being the address of your page.

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 can I get a link to a Facebook or Twitter avatar by username?

How can I get a link to a Facebook or Twitter avatar by username?
For Facebook the image is publically availible and can be seen at: http://graph.facebook.com/username/picture
For example, here is mine: http://graph.facebook.com/totten/picture
You will notice that the url above actually gets forwarded to another caching url. Don't save the long url (http://profile.ak.fbcdn.net/....) save the short http://graph.facebook.com/ one. The other, longer url, could change and break.
If you want to display that url in a web page you just need to do the following:
<img src="//graph.facebook.com/totten/picture" />
Which gets you: http://graph.facebook.com/totten/picture
Thats it, no complicated API or authentication is needed.
For twitter you need to use the api: http://apiwiki.twitter.com/w/page/22554755/Twitter-REST-API-Method:-users%C2%A0show
you have to use facebook's graph API to get profile pictures. You'll have to register your app with facebook to get an API key, and then you can access most of the information on a given user's profile.check out their developer page to see some examples
Twitter just changed the way they handle API call. Looks like you'll have to register your app with them as well to get access to the avatars. I haven't used the twitter API since they changed it, so i'm not a sure about what goes on, but check out the docs page to read up on what you'd have to do.
hope this helps!
Some programming paradigms (Razor in ASP.NET or ASP.NET MVC 3, for example) have their own helpers to work with social media. If the paradigm you are programming in does not have helpers, you will have to access the FaceBook and/or Twitter APIs and use them to get the "avatar".
I have not played with Facebook, but the Twitter avatar link is provided on the user's profile, when you get it.
With regards twitter, I was able to get mine by visiting my profile page:
https://twitter.com/<USERNAME>
From there, you locate the <a> tag with the class ProfileAvatar-image and extract the href attribute. I was able to use that link on a separate site to import my avatar from Twitter.
I did all this manually, but it would be relatively easy to set up a script that used the username to request the profile page and isolate that link.

Twitter connect popup page for 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...

Crawling a Facebook fanpage

I want to cral a facebook fanpage to get the details of all the members who are fans of that page. I there any function in the face book API which will help me. Or is ther any other way I can do this???
You might try DineJS, a programmable crawler:
http://code.google.com/p/dinejs/wiki/Samples
Scrapy is also a nice framework for writing custom crawlers.