{"id":18271601,"url":"https://github.com/fmorgner/FMTwitterKit","last_synced_at":"2025-04-05T02:30:35.032Z","repository":{"id":1031384,"uuid":"859650","full_name":"fmorgner/FMTwitterKit","owner":"fmorgner","description":"A simple to use but full-featured Twitter framework","archived":false,"fork":false,"pushed_at":"2011-09-11T14:28:03.000Z","size":202,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T11:54:01.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fmorgner.png","metadata":{"files":{"readme":"README.asciidoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-08-24T17:55:28.000Z","updated_at":"2013-10-11T09:04:20.000Z","dependencies_parsed_at":"2022-07-18T16:28:41.319Z","dependency_job_id":null,"html_url":"https://github.com/fmorgner/FMTwitterKit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmorgner%2FFMTwitterKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmorgner%2FFMTwitterKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmorgner%2FFMTwitterKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmorgner%2FFMTwitterKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmorgner","download_url":"https://codeload.github.com/fmorgner/FMTwitterKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247279217,"owners_count":20912848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T11:39:24.075Z","updated_at":"2025-04-05T02:30:34.651Z","avatar_url":"https://github.com/fmorgner.png","language":"Objective-C","readme":"ReadMe\n======\nFelix Morgner \u003cfelix.morgner@gmail.com\u003e\n:Author Initials: FHM\n:website: http://www.felixmorgner.ch\n:numbered:\n\nFMTwitterKit provides you with simple ways to work with tweets and Twitter users. In the next few lines I'd like to show you the basic concepts of FMTwitterKit and how to use it.\n\nHow the data flows into FMTwitterKit\n------------------------------------\n\nYou are responsible for the downloading of the raw XML data from the twitter.com servers. You could use your own URLs or do it the recommended way and use the integrated URL constants. This way you are always up-to-date with the latest changes done by twitter.\n\nWhat you get back\n-----------------\n\nAfter you downloaded the XML data from the twitter.com servers you will want to give to the 'tweetsFromXMLDocument:' method on 'FMTweetFactory'. This method returns you an array of 'FMTweet's.\n\nWhy FMTweet and not a simple dictionary\n---------------------------------------\n\n\"Tweets _are_ tweets _stay_ tweets forever\" - Felix Morgner on tweets\n\nFirst, FMTweet represents a tweet whereas a dictionary represents a dictionary. In Objective-C we live in an object-oriented world. This is one of the reasons why a tweet is represented as a tweet.\n\nAnother reason is that FMTweet can provide you with some convenience methods. For example: Twitter only provides you with the hex value for the users profile text color and thats where FMTweet comes in handy. You can ask a FMTweet for a NSColor representation of the users profile text color.\n\nAbout authorization and authentication\n--------------------------------------\n\nOnce upon a time twitter used 'HTTP Basic Auth' for authenticating twitter users. In this time gaining access to the 'friends- timeline' of a user, or posting to the 'user timeline' was pretty easy to accomplish. Since then this has totally changed. Now twitter uses OAuth, an open authentication standard, as authentication protocol. In OAuth not users but applications get authorized and authenticated. This is the reason why FMTwitterKit doesn't do authentication for you.\n\nHow to get a tweet to twitter\n-----------------------------\n\nTo post a tweet to twitter, you need to supply twitter with a POST request including at least the status text in the HTTP body. Twitter then replies to you with a JSON or XML representation. Since FMTwitterKit uses XML for it's whole workflow you should use the XML returning URL or - much better - use the integrated URL constant.","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmorgner%2FFMTwitterKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmorgner%2FFMTwitterKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmorgner%2FFMTwitterKit/lists"}