I need to upload a video to youtube from my ios app. I got access-token manually from Google OAuth 2.0 Playground. But it expires after one hour. So, I want to obtain access-token programmatically, but couldn’t implement that. Please help
As is Google youtube now days says -
Note: The YouTube Data API (v2) has been officially deprecated as of
March 4, 2014. Please refer to our deprecation policy for more
information. Please use the YouTube Data API (v3) for new integrations
and migrate applications still using the v2 API to the v3 API as well.
You can try with youtube API -
Youtube-link
Related
I tried to find Facebook Ads sdk for .net core, but i find only skds that use deprecated version of Facebook Marketing api, and for this reason not working. Anyone know a updated sdk?
Thanks.
As far as I know, there is no updated SDK. Just use a HTTPClient and consume Rest endpoints with GET and POST requests. It's very easy to use.
Starts with the official documentation and look for the cURL examples to see how you need to construct your queries.
Is it possible to register my FB application to use Facebook REST API?
Or is it possible to authenticate in facebook mobile app with no redirection?
You do not need to register an app with a particular API - just go ahead and use it, the instructions are all there. However, Facebook recommends that you do not use the REST API as it is no longer being supported or updated. Use the Graph API and/or FQL - these are under active development and they're what most of the development community use.
Regarding the mobile app issue, could you give a little more detail? The OS and SDK you're using, for example?
I have one problem regarding OAuth integration in iPhone App.
Can anyone help me how to integrate OAuth 2.0 with facebook in iPhone ?
I have referred so many sites about OAuth but I haven't got satisfied answer yet. I referred this question of stackoverflow. There is one good option about ShareKit. But my client wants only OAuth 2.0.
I downloaded framework from google code. I integrated it in my application. But How to use it ? Without guidance I can't implement it in proper way.
I have got stuck between my application and 0Auth 2.0 since last 3 days. Please can anyone give me idea or demo project or any another tutorial ?
Rather than implement OAuth for Facebook, make use of the Facebook iOS SDK which makes handling Facebook Auth and Requests much easier. You can read about it and download it here... http://developers.facebook.com/ios/
I just done a research
This post will really help you
Also please look at the below posts
iphone-facebook-oauth2-graph-api
OAuth and Facebook iPhone SDK
The framework you mentioned in your post is not for OAuth 2, but for OAuth 1.0a.
You can try the OAuth2Client we developed for talking to the SoundCloud API. It's build against draft 10 of the spec. I'm not sure which one is used by Facebook. Unfortunately the spec is not final yet and over the years different services adopted different drafts of the spec.
If you're able to argue with your client I'd try to convince him to let you go with the official iOS SDK. This gives you many benefits like automatic token refresh, single sign on via the official app & much more.
I'm implementing server-side interactions with YouTube and I'm a bit lost with the kind of Product/App you need to create in order to publish videos via the API for example.
Looking at the OAuth2 doc, it says that I need to register my app with the API Console (looks good so far, very similar to creating a Facebook App).
But then, I looked at the Google .NET library and here it says that a Product needs to be registered in the YouTube dashboard... Not sure to understand how these are complementary. If anyone has a synthetic explanation (which I didn't found in the docs), I would be grateful.
Thanks
I'm not 100% sure but I believe:
The YouTube Dashboard was originally setup prior to the announcement of YouTube API v3, which is yet to be released. You use the Dashboard to register your application and get a YT Dev Key. You can also use the Dashboard for some extremely low level application statistics.
The API Console is Google's attempt to form one administrative console for ALL of their APIs. Since Google is transistioning to oAuth 2 authorization, you will need to use the API console as well in order to apply for a clientID, redirectURI, and clientSecret if you want to authorize with oAuth 2.
At this time, if you do not want to use oAuth2 you do not need access to the API Console. However, know that in February of next year YouTube is going to kill all other forms of authorization (sub, clientLogin, oAuth1).
So to try and simplify things:
Use the API Console to get your oAuth2 in order
Use the YT Dashboard to get a YT Dev Key
In the future, when Google goes lives with YouTube API v3, you will probably want to switch to a new Dev Key from the API Console and leave the Dashboard all together.
Facebook released new API that works perfectly on iOS4.
The API's that are in older facebook api are no longer working in new api.
I have the experience of integrating facebook api in iphone3 Apps. but now the api's are no more available.
I'd like to post a message the user's wall. How can I do it with latest API. Is there any tutorial. I googled a lot and I couldn't find perfect URL
Have a look at Dominic Dimarco's tutorial part 1 and part 2. Hope that helps.
There is an example in the Facebook Connect iOS SDK, download here.