I try to update my profile image and use this code:
$connection->post('account/update_profile_image', array('image' => "/images/logo.png"));
But it didn't work. I don't know why. How can I update my profile image using the Twitter OAuth Library?
TwitterOAuth does not currently support image uploads. If you would like to upload images tmhOAuth is a good library that supports files.
Related
I want to upload video to linkedin from my rails application using REST API. Is there any method by which I can upload video to linkedin?
There is an option to share URL but that doesn't fulfills the requirements. I want to upload video and play that video in newsfeed.
Linkedin does not allowed to upload video via rest api
With api V2 can we share a video using api? using UPC post?
https://developer.linkedin.com/docs/guide/v2/shares/ugc-post-api
Saw examples of get/delete but not post
https://developer.linkedin.com/docs/guide/v2/shares/vector-asset-api
Above link has the step by step procedure on how to upload a video to linkedin and how you can create a post using that video
I want to upload photos to my own instagram account programmatically from my Rails app. I've only been able to find posts from ~2013 that state this is against Instagram TOS. Is there any update or are photo uploads still disabled using the Instagram API?
Instagram API still doesn't allow upload from any third-party apps. This is their conscious decision and I don't think it will change any time soon.
I’m building an app where i want to implement twitter login.I want to fetch user basic profile Information.
I am trying to integrate twitter functionality using Twitter outh library https://github.com/bengottlieb/Twitter-OAuth-iPhone.
And i found an tutorial on youtube https://www.youtube.com/watch?v=MlGI_vB0--o
which helps me how to integrate twitter into your project using above library,But problem is when i add the
Twitter+OAuth into my project it gives an error.
Error:/Users/rohit/Desktop/Master/Twitter+OAuth/MGTwitterEngine/MGTwitterEngineGlobalHeader.h:17:10: 'Cocoa/Cocoa.h' file not found
How can i handle this error,help is appreciated.
I have implemented quite a few third party for twitter integration . But STTwitter is the best https://github.com/nst/STTwitter Easy to use and serves all purpose
I currently have an iOS app with facebook integration that allows users to post their photos to facebook.
I want to add twitter integration as well, but I couldn't find any information about it. I read somewhere that it's now possible to upload photos directly to twitter, without an external site, such as twitpic.
Does twitter provide an iOS API in the same manner that facebook provides their APIs?
I looked over ShareKit, but it has tons of features that I don't need and the workflow of uploading a photo is customized in my app. Worst case, I'll copy-paste some code from ShareKit, but I'm not sure it even has the ability to share a photo to twitter.
Twitter doesn't provide it's own photo sharing API. You have to upload your photos somewhere (on your own server, twitpic, etc.) and get the link and post the photo's link along with the tweet text.
I haven't used twitpic before but it looks like they have their own API that you can check out here.
If you're uploading them to your own server, you should use bit.ly's api to shorten the URL's of the photo links to provide more tweet text space. Info on bit.ly's API is here.
I updating my project to use twitter oauth instead of basic auth. I was uploading pictures to twitPic using the basic auth, how to do that with oauth?
I am using MGTwitterEngine for doing the oauth.
I found this about using another library: Having problems with uploading photos to TwitPic using OAuth in Objective C on the iPhone
but when I try their demo, it is not working, the response is 401.
not sure what oauth header should be?
any idea how to do this?
I found a great library for doing this: GSTwitPicEngine https://github.com/Gurpartap/GSTwitPicEngine, and it is easy to use.