I'm looking to have a gallery on my website that contains the images from my Instagram account. I haven't been able to find my resources that explain the process of interacting with the API for this purpose. Can anyone point me in the right direction? Ideally the gallery would have folders by month, sort of like an archive feature.
Did you check this out? It seems straightforward.
http://snipplr.com/view/58083/
You can use the Instagram API and create a Javascript solution manually. But this will take time.
The API that you need is -
https://api.instagram.com/v1/users/{user-id}/media/recent/?access_token=ACCESS-TOKEN
Or You can directly use a simple plugin like Youmax-PhotoMax.
PhotoMax will create an Instagram Gallery from your user account. The Archiving feature you will have to add manually into it. But most of features like filtering images based on #user or #hashtags will already be present in there.
You can check out the demos here.
Related
I am totally new in this concept. I received a task in which I need to create Moodle plugin for course.
In my course I have two sections where Only videos will be uploaded by teacher. I want to create a plugin to use user webcam while they are playing that video and capture the screenshot. For example, they click on play then webcam will start. so, my question is.
is this possible? and where should I start doing development like in local folder? or in mod folder. I just need some guidance from where I need to start. although I have a simple core code written by myself in php and JavaScript where I can start video when user play video. but I want to integrate that into Moodle, but I don't know from where to start.
I did some research, but it shows the activity plugins should be in /mod folder but I don't know how I should start.
Here's the documentation for developing an activity plugin - although it can be complicated if you are new to Moodle
https://docs.moodle.org/dev/Activity_modules
If you are new to Moodle, there is a free beginners course here for developers
https://moodle.academy/enrol/index.php?id=64
Also recording video isn't an easy task - its always worth checking to see if a plugin already exists - here are contributed plugins
https://moodle.org/plugins/?q=record%20video
Poodll is a popular set of plugins, they already have one for recording video
https://moodle.org/plugins/qtype_poodllrecording
Maybe use one of those as the basis for your plugin
As many of you might know Instagram changed their API and now it dont really look like it's possible to pull images other then my own.
When trying to make a new submission under the following category "I want to display hashtag content and public content on my website." i get the following
Error:
This use case is not supported. We do not approve the public_content permission for one-off projects such as displaying hashtag based content on your website. As alternative solution, you can show your own Instagram content, or find a company that offers this type of service (content discover, moderation, and display).
Have anyone found a way around this? if then please tell me!
Instagrams new policy stops getting images from hashtags.. But you can look at this :)
I am working on website like facebook. In which i need to post video, images and post status and there is like,comment option for all posts same like facebook. So my question is there any custom script opensource so i can implement into my website.I did some googling but doesn't get any script like that.If any one knows about this script then please let me know.
Wordpress + Buddypress plugin could be a solution.
Obviously, nothing is going to have the exact Facebook functionality off the shelf.
You can use jomsocial for create this type of site. but no one script find which bind your all requirement about create this type of website
I have a wordpresss blog where i post a lot of stuffs. Sometimes a few people do write contents for me. They usually write it on google docs and they send me a link.
I would like to write a small plugin whereby on each post there is an option to input the google doc link for an article and pressing a button brings the post onto the wordpress editor.
I much confused about how to proceed with the google docs api part? what is the easiest way to achieve the import ?
Try docs-to-wordpress plugin
This plugin will grab docs out of a collection in Google Docs, create or update a post in WordPress and then move the doc to a new collection. Google Docs no longer supports xmlrpc, so this is perhaps the easiest way to move content from your Google Docs account to your self-hosted WordPress install.
Here's a Google script that will convert a Google Doc to a nice clean html email, that you can copy and paste in a Wordpress editor.
http://omaralzabir.com/googledocs2cleanhtml/
Hope this helps. I have been looking for a solution for a long time. Finally, had to spend some time and make one for myself, as I use Google Docs for authoring my blog posts.
My company just released this Google Drive app. It automatically uploads your Google document to WordPress, including all your images. It also adjusts all the formatting to fit your blog's theme.
I am building a restaurant review site using php. I wanted to know how to show reviews from other reviews sites. For example check this link to see how google is picking up reviews from other sites. When clicked on, it takes you to their review site.
Any help will be appreciated. Thanks
First, make a list of the sites that you want to pull reviews from. Second, read through those sites and see if they have a developer section and if they expose a public API. If they do, look around to see if they have any client libraries for php which you can use to access their API from your php site. If they do have an API but there are no client libraries available, contribute to the community by creating a client library and sharing it as open source. :)
Also, it may be possible that they have an RSS feed of their reviews that you can consume easily of your site, so check that out too.
You will probably find the other sites have partnered with Google for this, however I would be using cURL to get the information you want.
I would suggest you start here with cURL, then have a look here to extract the portion you're looking for.
Edit: the section of the second link that is relevant is
preg_match_all("/<div>.+<\/div>/", $page, $matches);
print_r($matches);
What this is doing is getting the content you're looking for and then displaying it, you will probably need to define the unique elements with the content you want however, this could mean a separate rule for each website.
I hope this helps for you.
I think google find News, Blog , Reviews and something like that by site map what web administrators introduce to google as sitemap.xml .
To do this you must get page content what you want to fetch it's reviews ( By CURL or something like that to get remote file ) and fetch reviews by regular expression of HTML