I am wanting to allow a user to update their twitter status from my website. I was planning on using Twitter's #anywhere feature, but this was not a very friendly solution:
Take over 3 seconds to load
Makes 14 requests
Calls jQuery twice
Then I found the Twitter REST API: https://dev.twitter.com/docs/api
Using OAuth, I want the user to be able to login, and then update their status using that API. I've been trying to find tutorials on this, but I haven't found any that use the REST API to update the Twitter Status.
Does anyone have code for/know of a tutorial for what I'm looking for?
Just post the data to update api endpoint.
You can read twitter update api doc for details : https://dev.twitter.com/docs/api/1/post/statuses/update
And there is a open source twitter client written in PHP, named dabr. http://code.google.com/p/dabr/
Adam Green has a nice tutorial in PHP that walks you through everything from setting up your application on the Twitter developer site to posting your first tweet.
Related
I have tried searching Google for days to find an answer to this question. It seems it is not possible to post content to Instagram through an API with PHP. We already have an integration with Facebook where we post content for our clients on an automatic schedule, but it seems it is not possible with Instagram.
I've heard you might be able to post if you are an Instagram Partner, but I cannot find out information about that, or how to apply to become a partner.
Is there any third party solution that provides an API to post to Instagram? or any other solution to this problem? I found the mgp25 Instagram API, but that has been taken down from Github.
I want to retrieve the leads data from the facebook Marketing API and it should synchronize with the client custom CRM. I have gone through the guide given by facebook but I am not sure how to implement and get the result.
Is there a way to set up my code so that my leads data is directly triggered into the client CRM? Without using any third party tool?
Yes, you can do this through the Marketing API.
There is a full guide here:
https://developers.facebook.com/docs/marketing-api/guides/lead-ads/
I am working on PHP website built with Yii 1 framework.
I want to make articles auto posted to Google Plus business page related to the website.
I create test business page on Google Plus related to my Google account and website I work on.
I can authorize myself by getting access token using OAuth2 (authorization of users, I think it's done).
Now how can I use this access token to post articles from PHP website to Google Plus?
I started from here https://developers.google.com/+/web/api/rest/pages-signup but what is the next step after I complete this form?
How can my PHP code interact with this API?
What request should I send to post to API?
I am trying to create a portal where users after login can search other members, update their own profiles etc. I want to integrate every users LinkedIn profile to the website so that when anyone is searching for a member, the results should be the as per the LinkedIn profile of that person being searched for.
Moreover I'm using PHP and MySQL database in the back end.
How to enable this feature in my website using the LinkedIn API ?
You would download a wrapper for php to interact with the LinkedIn API first....
LINKED IN PHP WRAPPER
Then from there you would create a database to store new users names, and ids' along with their l=LinkedIn email. Which will be the reference to their linked in profile.
Which you would give them the option to login via LinkedIn, with oAuth.
Some helpful links to get you started...
But if you don't know much about PHP or programming in general. This might all seem very confusing at first
TUTORIAL 1
Simple LinkedIn PHP library
Getting OAuth token
Am not sure there is a feature like ,
automatically update twitter tweet in to facebook ,
May i know is there any like automatic update ,
For Should i use API or CURL , or anything else ,
Thanks
just i find one thread from google
link text
Is there any thing else then this thread...
You can do it using the twitter application on facebook. There is more helpful information here
There are a couple existing ways to do this. As Shadi suggested you can use the official twitter app. or if you would like more control on what is sent to facebook you can use tweelay.net (full disclosure: i am the sole developer of tweelay)
If you wanted to roll your own:
I suggest using the Twitter Streaming API backed up by a standard statuses/home_timeline call from a cron job every minute or so to grab tweets. then with the tweets you can send them to facebook using the Graph API.
There are several existing libraries that can be used to get you started.