Post on Twitter in single click - like Instagram - objective-c

I'm trying to implement Twitter share the way it is done in Instagram.
What it means is that I want the user to approve the built in Twitter credentials (defined in the iPhone settings) and after that, every time the user clicks a "share" button - it will post a tweet on Twitter without the need for the user to fill the text or see additional dialog like the TWTweetComposeViewController.
Any suggestions?

You can achieve this using TWRequest, go through the Q&A in this post..
Use TWrequest to send an image with a text to Twitter in IOS5
But in iOS 6 this might be deprecated, so check out the adjacent classes used for this purpose.

Related

In-app messenger api with prepopulated text

Many apps used an in-app Facebook messenger api to share referral link directly to messenger. They also use prepopulated text with a link.
My question is fairly simple : How do they do it ?
I could not find any documentation about it, the closest thing I found is the send dialog api which doesn’t allow any prepopulated text.
Example (Lime app):
You need a Link not share, try this package or find something similar
https://www.npmjs.com/package/react-native-facebook-messenger

How do I post in facebook a big image on a friend's timeline without using sdk feed dialog

I have an app that lets the user create a custom-made greeting card (a big image) and send it to a facebook friend who has their birthday / another occasion on that day.
I want to allow my user to post the generated greeting card image on the other friend's timeline.
Since feb 2013, developers are not allowed to post on other user's wall using /feed (stream.publish), the documentation states it is only allowed using the feed dialog (sdk pop-up).
How do I allow a user to post a big image on a friend's timeline from an iOs app without using the sdk's send dialog?
Due to the Recent Changes of Facebook Graph API you can't do this anyway without using the Feed Dialog .

Facebook App request in iOS (not using Dialog)

I need to send a request throw my app to user's friends in Facebook (After the app on Facebook is authorized) I know there is a way to do it through the SDK :
[self.facebook dialog:#"apprequests" andParams:params andDelegate:nil];
But I don't need that way to show the dialog I just need to be able to send the request in the background when the user select the friend from (Table View for example).
Is this possible?
The Facebook Dialog API has not been updated (yet, hopefully). You can't bypass the dialog the way you want to do it.
But, you can :
preselect the friends with your own GUI and gives the apprequest the selected facebook ids. This way, the dialog is just to confirm the request.
activate the frictionless parameter, to avoid the dialog the next time you send the request for the same selected friends (the confirm dialog seems to show anyway, though, and immediately disappear, it gives a not-so-nice blink on the screen).
here's the related documentation, in case you need it : https://developers.facebook.com/docs/howtos/send-requests-using-ios-sdk/

How to integrate facebook fan page within an iphone app?

I want to integrate facebook fan page in my game with out leaving the game. And I also want to detect If any one like that app, I mean I want to detect "like" button pressed or not.I view this tutorial http://www.raywenderlich.com/1626/how-to-post-to-a-users-wall-upload-photos-and-add-a-like-button-from-your-iphone-app But there is only instruction to add the like button,but o detection if any one tapped the button or not.
Any one help me please.Sample code or tutorial may help a lot.
Thanks in advance.
Tamanna
The Facebook API on iOS is meant to redirect the user on the Facebook app (or website when the app is missing) in order to grant access for the like itself. This needs to be done at least once.
In order to gather information about who is liking what you can set up whatever log or backend functionality to the Facebook app that you have to create to activate the like functionality on your iOS app.

Facebook API with iphone

am new to iphone technology and i have been allocated on a project where i will be using an API of facebook so i have downloaded the facebook api from this link http://github.com/facebook/facebook-ios-sdk
and i read its documentation where i got confused this is what i want to do:
1) The image from the UIImageView must be posted by the user to his facebook album, and that album will be selected by the user from his/her account.
2) The user can add comment on that photo which he/she added.
3)Logout logic
But when i draged and droped the FBConnect folder, in the documentation its said that i have to set the header but how and what to set in the header i am not aware of that, also when i tried to do login with the appID and appKey which i generated from Facebook developers its not helping me at all
Please help me out, am confused on this topic completely, if you provide me some snaps of the source code or some links then it would be very nice of you
You might consider using ShareKit. It has made connecting to Facebook easier for some developers. You can find it at this link: http://www.getsharekit.com/