Does the Google URL shortener have a feature similar to Bitly's HTTP request? - google-url-shortener

I'm using Bitly currently to shorten links via HTTP request. I'd like to do the same through the Goo.gl service because it's free. I can't seem to find any documentation from Google on such a setup. Here's what I'm using with Bitly.
https://api-ssl.bitly.com/v3/shorten?access_token=MyApiToken&format=txt&longUrl=http://MyWebLink.com

I think what you want is the Google URL Shortener API

Related

Facebook Graph & Marketing APIs - Postman collection available?

Is there any Postman collection available for Facebook Graph API and its "children"? (Marketing API and friends.)
I'd definitely ask somewhere on their SDKs Github page, but all of them don't allow to post any "Issues". Also, I've been surfing the web for a while on this.
A great example of what I'm after is WhatsApp's Business API Postman collection, it's publicly available here -> https://developers.facebook.com/docs/whatsapp/guides/postman/
What you are looking for is not available at this time.
Our docs are the source of truth for all API's
https://developers.facebook.com/docs/

Uber deliveries api returning 404

I am integrating uber rush api and following the documentation https://developer.uber.com/docs/rush they recommend to use the sandbox url for testing. But all the urls are returning 404 page not found any one integrated the api please comment any change in the api.
Example url :https://sandbox-api.uber.com/v1/deliveries/15692cdf-55f0-4f11-9a0d-ad4954851574
Uber RUSH API is not accepting any new integrations, and overall Uber RUSH is shutting down (https://www.theverge.com/2018/3/31/17184480/uber-uberrush-shut-down). As you might notice, that URL you linked for documentation is hidden from the developer documentation. Thanks.

I want to crawl twitter and facebook

I am making a crawler now.
It supports web, Facebook and Twitter.
My mentor says it needs to support getting post using Facebook and Twitter API, but I don't know how.
I am using Solr as a search engine and planning to use Nutch for web crawling.
I saw that Nutch does not support those APIs.
Could you recommend other web crawlers or a way to get posts using Nutch or other ways, whatever.
I would appreciate very much!
What exactly do you want to crawl in facebook/ twitter?
Only specific search engine bots are allowed to crawl facebook.
Visit https://facebook.com/robots.txt
At the bottom they have disallowed all bots except the one listed.
So to fetch data from facebook (if that's what you need), use API.
https://developers.facebook.com/
In twitter, you can crawl a few url's
Allow: /?lang=
Allow: /hashtag/*?src=
Allow: /search?q=%23
Again a better approach is to use API, if your aim is to fetch some data.
https://dev.twitter.com/

Using Facebook REST API to login, but meet 'Application does not have the capability to make this API call'

I'm a newbee on facebook development and I'm trying to do some basic feature on FB, just post a message to wall and upload some picture. This feature would be integrated into a game.
Now the problem is I HAVE TO use the REST API to login, using the url and parameters below:
https://api.facebook.com/restserver.php?method=facebook.auth.login&api_key=393870187360051&v=1.0&sig=d2985e6e3ac9fe3efe814d5c9c614f57&format=JSON&email=myfacebookaccount&password=mypassword
However I got the error 'Application does not have the capability to make this API call'
I have double checked that the FB app_key and account is correct, and the APP is bound to the account already.
I don't understand what that error message means. Do I miss something when calling the request? or this REST API is already deprecated? I doubt it because I find no reference about the METHOD facebook.auth.login on the official website now.
PS. I use the REST API in that way BECAUSE I must use some company internal API, which implements the login request like that above. If that method is already deprecated, I need to ask the guy to upgrade the API.
Thx so much
In case of someone who still need to play around with the Facebook legacy REST APIs, please take note that the REST API is not supported for newer Facebook app.
For details, refer here.

How to accept new requests using Facebook graph API

How to accept new requests using Facebook graph API? If it is possible without using graph API, then also it will work for me. I have searched a lot regarding accepting or denying new requests in facebook, but did not find something useful.
Please give me some insight in this matter.
Accepting requests is only possible via interface provided by Facebook and not programmatically.
While you can remove requests via Graph API it's not the same as accept/rejection of request.
Remember requests mechanism is a communication channel, not another API to consume on application level.