Twitter API - which Library? - objective-c

I'm new to objective-c/cocoa and I want to build a simple app using Twitter API.
I only want to access the Followers of the user and because of that I don't think I will need a complex library like MGTwitterEngine.
Is there any Engine out there to my needs or should I use MGTwitterEngine?

I'd recommend getting some experience with MGTwitterEngine. Even if you don't have a use for the entire library, I'm sure you'll want to take advantage of it later on down the road once you see what it's capable of. You can even find an entire tutorial from start to finish on creating a twitter client with the MGTwitterEngine.

Related

Steam client API to add non-steam games?

I wanted to automate adding some non-steam games to my library on Steam Deck, similar to how EmuDeck can automatically add things to your library, but I was having a hard time finding how this works. Is there like a steam client API I can use? Or is there a different way of doing this by editing some file steam reads from to get the non-steam games?
So it turns out there is https://developer.valvesoftware.com/wiki/SteamCMD.
Others finding this might also want to check out https://github.com/berenm/steam-cli for a nicer cli interface, and https://github.com/sonic2kk/steamtinkerlaunch/wiki/Add-Non-Steam-Game for more functionality.

Are there any registration/authentication api's which can be used in React Native

I'm developing an IoS and Android app using react-native, and am now starting to consider all the aspects of user registration, so that typically the person will provide some credentials, and then get sent an email (or possibly sms) enabling them to "verify" their account, after which point they are a registered user.
These registration processes (and subsequent emails/sms's seem to be fairly common , so I'm wondering if there are any API's which anyone has come across which make the job of creating the registration/activation process easier m rather than writing code from scratch ?
Many thanks in anticipation
It depends what you want when you ask for an API. If you're developing backend as well you can use Auth0.
If you want just to implement frontend, I guess you have to write your own code. Consider using something like redux or mobx to store your email and other things after logging in.
Anyways the REST part you have to write on your own. As for views you can google for it, for example there's react-native-login-screen

How to integrate wit.ai With my own chatbot application

I would like to create my own web chatbot and i like to integrate my app with wit.ai for natural language classification.I need to know how to integrate wit.ai service(through api call) with my application(any language in backend).i am using C# in front end.I have gone through the integration part Which posted in wit.ai website.But i don't know how to connect it .Could anyone send me a integration details little briefly
I think the short answer is its similar to how you would call any other APIs from your application server components. Wit exposes multiple APIs like message, speech and converse which you can call by passing the Authorization token and other payloads and make use of the API response in your application.
You can use message API if you are only interested in extracting
intent and other atributes of the sententense
Use speech for building voice based application and
Converse if you want to build a little more smarter app. Currently you can only pass text for converse APIs.Hoping they will introduce voice option for this soon.
Now to make things simpler, they have also provided SDKs in various languages like node-wit, pywit etc. So if you want to build your server side logic using on nodejs or python you can use these SDKs. The advantage is that you dont have to manage raw APIs calls and instead it is all managed by SDK. Also, other big advantage is that you can make use of runActions method which encapsulates converse API and make things simpler. If you want to build in nodejs then the messenger example is a good starting point. You can borrow all this logic/concept in your app and replace FB related calls etc with your custom bot. For Python you can look at the below link
https://github.com/wit-ai/pywit/pull/55
Also, you can explore the options like using other frameworks like botkit if you plan to integrate wit with other chatbots like FB messenger or slackbot as these frameworks provide more flexibility and ability to easily switch to different chatbots in future. But they don't seem to properly support the converse API of wit.
You are specifically looking for integration details. Since you are using c# for frontend app, natuarally the best option would be to use c# for backend as well. In which case you will be left with directly calling wit APIs from your backend as I think there are no SDKs in c#. If you want to make use of SDK in node or python etc then you will have to build a rest based backend (for example) which can be invoked from your c# application. I am currently working on a nodejs app and integrating it with wit using node-wit. I can share some code once its ready but i dont know when I will be able to finish it. For bootstrapping my application I have used this node application. If you have some understanding of node then you can look at the /server/controllers logic. Similar to this application I have built a witController which uses runAction to interact with wit and I am calling this from front-end when user submits a message to your bot. The biggest challenge in runAction is to figure-out a way to send back the wit response to your front-end and get follow up response from user. Wit sends the response in Send method as you can see in the node-wit's messanger example.
Hope this helps!

Google Analytics for Mac OSx application

Is it possible to use Google Analytics API's to track Mac OSX applications?
If not could any one suggest me an alternative for Google Analytics.
Google Analytics is designed to work with web applications not for desktop apps. Although it might be possible to collect info about your application and send it to your Google Analytic account but the amount of work required to retrofit might be better spent, building your own Analytic solution.
A good starting point would be to create a simple web service, which collects information regarding clicks. Then rewrite your application to call that web service on every click within your application.
You would ideally want to store this information locally and submit it to the web service in batches. You would also want to design the application, so that if you ever shut down the web service, the application would still be able to operate.
UPDATE: As pointed out in the comments by Václav Slavík, they have added apps analytics for iOS/Android.
I made a simple set of classes for doing this:
https://github.com/stephenlind/SimpleCocoaGoogleAnalytics
Google Analytics is not only for web applications, but also for mobile. It's available on the platform like android, iOS, etc. If you want to track your MAC OS X application, you can choose DeskAppTrack or DeskMetrics. DeskAppTrack is only available on MAC. It provide a professional data statistical analysis and it's free. While DeskMetrics is available on MAC and Windows. Either one is ok.
This really depends on how detailed you want to get. If you are are truly looking for analytics with detail and control flow data, you are better suited to created your own web service, as mentioned.
However, if you simply want to know a small number of operations, that occur at a small volume, i.e. when the app is launched (a quick and dirty solution): then in theory you could create a landing page on your site that contains a minimal head section, and a blank body, and then load the URL with an NSURL when you want to trigger the action.
Of course, you would have to include the google analytics tracking codes in the header, and you may need to load an off-screen webview to get the javascript to run. Like I said, quick and dirty.
In either case, you want to make sure the application will continue to perform properly, even if the web service / page is not present.

Is it possible to develop a Facebook app that filters updates out of a feed?

Namely, does the Facebook API make this possible? I'd like to leave my news feed intact, but remove posts that meet some criteria for things I don't want to see (e.g., don't show me anything that sounds like Dick Cheney might have said it). Does the Facebook API allow apps to customize a user's normal news feed? I spent a few minutes looking at the facebook developer pages, but didn't see any direct answers to my question, so I was hoping some developers who were experienced with Facebook's API could help me here.
Before anyone mentions it, I don't want to just hide updates from those users. They may post other updates that I want to see, so I'd prefer to filter out updates based on content.
There is a Greasemonkey script called "Facebook Purity" which does this. You could probably look at the source and alter it to your specifications.
You could parse the news feed into a database on your site then use code to parse whether or not to display it.
yes this is possible but only if all your friends decide to add your application! otherwise you may be not able to access their feeds.
Its been a while since i used Facebook SDK so this may have changed.
The API provides very little news feed integration, and no you can't use the api to prevent news feed items from showing up in a users feed. All you can do is post and get, and you can only post 10 items a day, "significant" interactions. The Facebook API wasn't designed to enhance or alter the core Facebook experience, it was designed to allow developers to create third party apps that add to Facebook within a very limited and tightly controlled sandbox.
The Linq to facebook project looks quite interesting and may allow you to do what you are asking (if using .NET 3.5). My apologies for a link to such a pink website ;-)