I need to tweet on twitter some specific message. I need to do that for iphone and andorid using as3. While searching, I got a solution to navigateToUrl (to url 'http://twitter.com/home?status=message') and post, its working but it remains to the account of the user. I searched some apis also but didnt find any useful way to sending a tweet from a as3 flash app. Can any one please help me??
You can do this by using URLRequests to hit the twitter API after logging in with oAuth. There are also a couple of libs available to you for doing this.
http://wiki.swfjunkie.com/tweetr
You can use ExternalInterface with javascript to send tweets.
See here.
And here.
Related
I want to give users a button to send a link via Facebook message to their friends. For dektop devices, there is the send dialog, which works great: https://developers.facebook.com/docs/sharing/reference/send-dialog
As stated in the documentation, it doesn't work on mobile devices and just throws an error. Things get further complicated because some users have the Facebook App installed and some don't.
The perfect solution would be along:
Try to send the message via the app. I found fb://messaging/compose but could not find a way to prepopulate it with a link.
If that fails, send the message via the mobile website. I couldn't find anything for that.
The next best thing would be to share the link, instead of sending a message. I tried http://www.facebook.com/sharer/sharer.php?u=http://www.example.com, but that doesn't open the app, even if it is installed.
Any thoughts would be appreciated.
The way to send private messages on your website is making a link going directly to facebook message page.
http://www.facebook.com/messages/[user_id]
Check out this answer. They got the same problem. URL to compose Facebook email/message (compose email via URL-params)
In my application I need to integrate twitter into my application. I tried to integrate it with callback url and everything was fine. I could sent my message successfully and see that message on my page.
However, adding callback url into twitter made problem for iPhone app. Now, I need to find a way to send my message without using callback url.
I searched the Internet and unfortunately all tutorials were based on callback method. Is it possible to send message without using callback method? If you know any documentation please share it with me.
Thanks
To avoid navigation url you can use Htmlunit and authorize your form programmatically.
Here the same issue with dropbox: http://wastedcodetime.blogspot.com/?view=sidebar
I want to integrate twitter having compose tweet feature in my application using Phonegap.I am following https://github.com/ObjetDirect/phonegap-plugins/blob/master/Android/Twitter/www. Now in readme file they have given the instructions, for compose tweet how can I modify my index.html page? Please help me..
You can implement it using the concept of childbrowser. I have done this. Use the link: https://github.com/phonegap/phonegap-plugins/tree/master/Android/ChildBrowser.
Please take a look at this example of how to retrieve messages, photos, names... from twitter using javascript.
I've made it and with the help of CSS was fantastic!
http://wiki.phonegap.com/w/page/42450600/PhoneGap%20Ajax%20Sample
I think my tutorial describes what you want to do. See TMT5P1.
Requires Child Browser plugin (no Twitter plugin needed) to do OAuth 1.0a Twitter login. Video demo on PhoneGap / Android plugins.
In TMT5P1 user logs in to their twitter account from your phonegap app, gives permission to the app to access their twitter account, after which all Twitter APIs are available via javascript in your app. Includes composing and sending a tweet.
i want to fetch the yahoo contacts from my android app, if i click the button it has to ask for log in to yahoo, after successful logging in we can able to fetch the contacts, is there any way to do like that or any sample code, please guide me, thanks in advance.
Check out http://developer.yahoo.com/social/contacts/ and sign up as a developer.
http://developer.yahoo.com/social/rest_api_guide/ysp_api_book.html For some more information.
Regarding to examples, there really are tons and tonnes of them out there. Either use their rest service directly or implement the SDK available at: http://developer.yahoo.com/social/sdk/index.html
I have the Android Facebook-Connect library running in my emulator and I'm able to set my status with the Facebook API I have setup. However, I don't know where to go from there? Am I supposed to use the session key that this library allows me to get and make some Facebook API calls? I haven't found any code examples to even see what the proper syntax is.
Am I better off using another library? I tried fbrocket with limited luck(I get a "server error 104 - Incorrect signature"). Thanks for any help.
You will need to include your api key and session key in every call you make to the Facebook service. Also I'm pretty sure that the Facebook-Connect for Mobile Web doesn't support sending messages or requesting friends. Which is why with the native FB app when you want to do those things it actually opens up the mobile FB site in the browser.