photo upload using twitcurl on bb10 cascade - twitter

I want to add upload photo functionality in twitter using bb10 cascade application. from the forum i come to know that twitcurl is used to integrate twitter on cascade. I check the twitcurl page but did not find anything about upload photo(URL: http://code.google.com/p/twitcurl/).I want to know how we can upload photo using twitcurl.
And i also want to know if i want to upload photo on facebook using bb10 cascade then which api or sdk i have to use.

Related

How do I upload video in a tweet in an iOS app using XCode

I am new to iOS development and need to make a change to an iOS app I'm taking over to add video to a tweet. My current app UI allows the user to type in text for a tweet but I would be changing that to allow them to pick a video to upload along with the tweet similar to how the Twitter app works.
I see the Twitter API supports uploading video but I haven't been able to find any good examples on how to accomplish this using XCode and Objective-C. Any recommended approaches or tool kits I can leverage to accomplish this?
https://dev.twitter.com/rest/public/uploading-media
I had to roll my own solution. Check out my project https://github.com/mtrung/TwitterVideoUpload.
Light-weight due to using built-in Apple's Social framework to keep things light. No need to add extra frameworks such as TwitterKit and Fabric.
Support chunk upload.
Built-in support for user's credential retrieval
Thanks for the -1 that was helpful. So thought I found the answer with Fabric (https://get.fabric.io/). The Android side supports image and video upload with a tweet but the iOS side does not (image only). It looks like you have to roll your own solution including building a video picker. Then you can use the Twitter REST API to upload the video. Not exactly what I was hoping for but it is doable.
This link shows Objective C and Swift code to do the video upload Share video on Twitter with Fabric API without composer iOS.

How would I tweet a video link from iOS App which look like twitter site?

I am using TwitterKit framework for login with Twitter and getting user details. That part of my App is done. Now, I want to tweet a video link from my iOS App.
Here is the story:
User signs up using Twitter in our server.
User take a video from his/her iPhone. We upload that video to Amazon.
User wants to share this video to Twitter (Tweet that video link).
How would I achieve that. My question is not focused on just how to upload a video link. A tweet made by user should look like this:
The image has been taken from here which explains that you will have to upload video to twitter. Will I have to upload a video to Twitter to get such a view ? Do I have any other alternative to make focus on the tweet that it's a video link?
Also, I came to know that I can do that somehow using Twitter card. Exploring for that. If anyone have idea about Twitter card, please post an answer.

Does Instagram API allow your app to take IG photos?

We're developing an iOS app that would require you to take a photo with Instagram, apply a filter, grab the new photo, and post it to our app. Does the Instagram API allow this?
I didn't find anything about that here: http://instagram.com/developer/
If not, what photo filter libraries could we use to mimic Instagram filters?
that will require you to upload the image to instagram and that is not allowed except for a few selected apps (Instamatic et al)
https://instagram.com/developer/endpoints/media/
At this time, uploading via the API is not possible. We made a conscious choice not to add this for the following reasons:
Instagram is about your life on the go – we hope to encourage photos from within the app.
We want to fight spam & low quality photos. Once we allow uploading from other sources, it's harder to control what comes into the Instagram ecosystem. All this being said, we're working on ways to ensure users have a consistent and high-quality experience on our platform.
That said, You can still do the same on your own app:
http://getfilterkit.com/
or server:
http://zaachi.com/2013/08/19/php-photo-instagram-filters.html

Instagram API fetching images with Specific Hashtag

Hi I am pretty new to iOS and the Instagram API. I want to retrieve all pictures with a specific hashtag in an iOS app. How can i do that? Any help would be awesome.
Start reading about Instagram API. You need to make use of the following Tag Endpoint -
Once again, Instagram API documentation is very rich. Read about Tag Endpoints here.
Furthermore, if you are new to iOS programming, I would strongly suggest you to complete Build a Photo Browser iPhone App project by Team Treehouse. You will be creating a cool iPhone app for browsing Instagram photos.

Video upload with Instagram API now allowed?

According to the Instagram documentation, Instagram only allows API uploads for images (JPG, PNG).
A new iPhone app called Cinamatic allows users to upload videos to Instagram after loging in to the Instagram via Cinamatic.
Is video upload via the Instagram API now allowed? There is no mention on the public documentation.
According to this there might be the option for a white list of developers with access to the video uploads via the API. Any ideas?
At this time, uploading via the API is not possible.
following reasons:
Instagram is about your life on the go – we hope to encourage photos from within the app.
We want to fight spam & low quality photos.
Once we allow uploading from other sources, it's harder to control what comes into the Instagram ecosystem. All this being said, we're working on ways to ensure users have a consistent and high-quality experience on our platform.
http://instagram.com/developer/endpoints/media/
I also check this link.
Posting video on instagram using hooks
It also doesn't work properly for me.

Resources