Instagram api - publish hashtag hook [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Currently im working on task where i initially need to fetch media from instagram with specific hashtag and populate those info into database. After that, each new media published on instagram side (containing specific hashtag) needs to be fetched again and populated into database.
Of course i can accomplish this one using cron job (checking specific hashtag and number of media for that hashtag each 10 mins for example), but im wondering does instagram have "hooks" implemented for these kind of things. So for example, if something is published on instagram side, hook will be triggered and call will be sent to specific url provided within instagram dev app?

You should check out Instagram's Real-time API's: http://instagram.com/developer/realtime/
They allow you to subscribe and receive new contents via push updates. (uses pubsubhubbub)

Related

How to create price comparison website using opencart 2.x [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am using OpenCart for development.
I have affiliate API of Amazon,ebay,Flipkart and Snapdeal. I want to combine all API results to my web page with pagination. Like this website https://www.compareraja.in/mobiles.html.
My question is :
Should I save all API results in the database.?
Is there any method to combine all API results in a shuffled manner and display 1st 10 results then next 10 on load more option.
Yes, you should save all api results in database like you add product in admin panel. because there is some limitation to call api, for example limit of 5 call per second. what happen if your site traffic exceed api call limit, so always save api result to database for better performance. You should consider InterStore extension for plug & play solution.
If you have imported products from api to database, you don't need to create pagination because opencart already have this functionality

autorun when tweet me [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I work about twitter API these times. I set cronjob for auto run for my PHP files.
I want to try diffrent thing, I wanna run PHP file when people tweet me, and answer to people. Is that possible?
You can do that with IFTTT . https://ifttt.com . It's a free service that you can use to connect social networks and applications. The trigger (the "if" part) for you is channel Twitter, "new mention of you" (the trigger fires everytime you are #mentioned in a tweet) . The "then" part is channel Marker, which supports an action that allows you to send a request to a specific URL with several options. Method (get, post, delete) content type, and content. Then you have to create a "then" with channel Marker that is configured to make a request to your php script

Reposting to other websites from my own [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm creating a wordpress website, and I want that when I or an user make a post it gets automatically reposted to other sites.
I know that there is API for major websites, for example facebook and twitter. But what if I want to make a post in olx.com? they have no API. Is there a way to create a php function that logs into olx, post and logs out? It doesn't have to be a php function, i'm open to ideas.
There is a lot of reasons to not do that.
Better stay safe and play with the websites that have api, allow feeds or already implemented a way for you to post on their sites.

How to automatically show Facebook page posts, twitter feed and instagram on website [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I have a website, and I also have Facebook page, twitter account and Instagram for pictures. Instead of people going to three sites, I want to create a page in my website, so that everything is in one place.
So for example, I made a post on Facebook, so in my website, the post is shown there, and then if I tweeted something, then it automatically shows up in my website in a chronological order.
I don't want to keep embedding it every time I make a post.
Thanks
Basically there are two possibilities.
If you only have some basic knowledge of HTML, you can embed feeds/timelines in your website:
Twitter: https://blog.twitter.com/2012/embedded-timelines-howto
Facebook: https://developers.facebook.com/docs/plugins/page-plugin (only for Pages)
Instagram: http://snapwidget.com/ (third party)
Alternatively you have a lot more freedom by using the public API's of those sites, but it's a lot harder to implement.

Instagram Real-time PHP API [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
got some questions about the Instagram real-time api. first let me tell you what I want to do. I'd like to run a daemon process with a socket connection or something of the like to the Instagram API to get a constant feed of photos with a certain tag. We estimate it to be a large amount of data at a particular time (thus why we want to go Real-time). This process will parse the feed and store it into a mongodb.
Secondly, for the front end, I'd like to display all new, live photos in real-time, possible with ajax or some form of checking on a set interval.
Problem being, I can't find anyone doing this with php. All of the resources I have seen use Node.js and Tornado. Has anyone done this with PHP or know of a good Real-time API demonstration/tutorial to get me started?
Here's the documentation...
http://instagr.am/developer/realtime/

Categories