I would like to grab the number of clicks for an arbitrary bitly link - not just those links that I created. Is this possible through the bitly API? And if so, what's the process to get the correct access_token. I've tried using the generic one you can generate on the site, but that only works for my own links.
Thank you!
Ren
Yes, you can get click data on arbitrary bitly links using the clicks endpoint. You can try it out with the API Console with a few different bitly links and see how if you run into problems.
To get an access token for just your account, you can follow the steps at the very top of the authentication docs.
Related
i am beginner to google+ developer API and i want to grab user review from any about page for example https://plus.google.com/116018016837619707952/about
i have tried using curl call but didn't get success for all reviews.
also seen the content of document :https://developers.google.com/+/api/latest/people/get
can You just give me the idea about google api to grab review data.
Reviews are not considered part of the Google+ Platform. You have to use the Places API.
It has been almost a month and I couldn't figure this out.
I am developing a social network application and I want the users to be able to log in via their Twitter and Facebook account Like the screenshot below:
The Facebook is done, and I am stock with the twitter, Note that these pictures are actually set as a buttons.
What I want exactly is:
The user can be able to login (sign up) on the application using their Twitter and I will retrieve the basic information from Twitter API "Name,Username,Profile picture" in my application and store them in my database.
Note: I am using Parse and I already have a table call user.
Please help me :'(
It sounds like you haven't tried anything with Twitter yet.
If this were my code, I'd probably use the Twitter API to login, which they introduce you to here.
Or you can use one of the handy Objective-C libraries they've listed here
I want to achieve the same as Hootsuite, publish a post in a PAGE STREAM. But I don't know even where to look for it. It looks like Hootsuite is using the API, because they prompt an open Auth authentication where the user selects and authorize what this APP can do with his data.
With the PHP client I've been able of posting in the user APP stream (different from the user main stream) using moments class, and get data from the user using plus class client, both from the PHP library available here: https://code.google.com/p/google-api-php-client/source/checkout
But I don't know how to write in a user's page. Does anyone knows or can point me where to go to, at least, publish on main Google+ page stream as Hootsuite? Thanks.
The Google+ Pages API is currently available to a limited number of parters only, including HootSuite. You can request access to the API at https://developers.google.com/+/api/pages-signup but there is no guarantee when, or even if, Google will approve your access.
Although you can use the HootSuite console to post messages to Google+ pages (see http://hootsuite.com/google+), it isn't clear if you can use the HootSuite API to do so.
Writing an android widget to display the most current Google checkout ending balance and can not figure out how to get this number directly. I have dissected the page but don't understand how the number is generated. I can gain access through a simple browser interface and view my daily ending balance but cant pull that single number for display on the widget. Any help would be grateful. Thanks.
There currently aren't any Authorization APIs to request balance.
In order to get this information, you would need to request the Google login credentials from the user which is something that Google probably doesn't want you to do(the reason why client login was deprecated).
I can't think of a great solution to this problem with out Google enabling an OAuth2 API.
Is it possible to post onto Twitter using the sharing URL, for example:
http://twitter.com/home?status=My Status Update
But, instead of creating a link for a user to click, I want to have an input box that will post the content of the input box as the status. So, whatever the user types into the input box would replace My Status Update.
I'm thinking there should be a way to use the form to post onto this URL hxxp://twitter.com/home?status=XXXX where XXXX is the input value. Is this possible?
UPDATE: I realize I described this wrong - it doesn't have to ACTUALLY POST the status, it can take them to Twitter, ask them to logged in (if not, skip), and then put the status update inside the Tweet Box and require the user to press Tweet to send it
Thanks!
No, Twitter require the status to be sent from it's interface.
You can provide the user an option to send status from your site only with twitter application and only after the user authorized your application to sends twits in his account.
Sadly, the solution to this may be more complicated then you think.
Twitter recently switched to full OAuth authentication to interact with their api and to post status updates etc.
In short, to do what you suggest above will require your visitors to log in.
To simplify this, on my websites I use the Official Twitter Tweet Button because I feel that my visitors will trust it the most and will enter in their username/pass without worry.
The Official Twitter Tweet Button page has a builder where you can select various options to change the look and content of the tweet itself.
Be sure to checkout the full documentation for the advanced usage examples and the full reference of properties that can be used with the javascript tweet button
p.s.
On my site I registered for an app so I could include the following js file:
<script src="http://platform.twitter.com/anywhere.js?id=MY-APP-ID&v=1"></script>
And my links look something like this:
Tweet